Closed Drowze closed 7 months ago
@softprops can we merge this? would fix the following warning ("not include valid file") always being thrown whenever input_files is not defined.
Duplicate of Related to #384 ? :)
@Drowze this makes a lot of sense to me!
this should be available in the new v2 tag
When the input
input_files
is not defined, theconfig.input_files
will default to an empty array, which always evaluate to true - that was triggering a misleading warning suggesting that the user did input something but the input didn't point to any file.As a fix, simply check if the array is empty as well :)