krieselreihe / litr

Litr (Language Independent Task Runner) lets you configure and then run any tasks you want for any language.
MIT License
8 stars 0 forks source link

Can a parameter `type` be empty if it is not a string? #14

Closed MartinHelmut closed 3 years ago

MartinHelmut commented 3 years ago

Description

Currently a parameter can be empty:

[params.target]
type = []

Should this show as an error to the user or be a valid case? Having it valid would imply that the options can never be defined and this seems rather a bad behaviour.

Goal

Explore how an empty type array can be a valid feature.

MartinHelmut commented 3 years ago

Never felt necessary to handle this as a special case. Error handling in general is in place. Closed as this will not be a "valid feature".