Skip to content

Commit

Permalink
fix validate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberbuff committed Nov 2, 2023
1 parent d8fdd49 commit 0c13f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/validate/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def validate_input_args(self, file: DirEntry):
if deps:
commands += [d.get("get_prereq_command") for d in deps]
commands += [d.get("prereq_command") for d in deps]
commands = filter(lambda x: x is not None, commands)
commands = list(filter(lambda x: x is not None, commands))

if not any([variable in c for c in commands]):
self.errors[file.path].append(UnusedArgument(file.path, k, index + 1))
Expand Down

0 comments on commit 0c13f29

Please sign in to comment.