[Bug] Update main.py to fix toml-lint (#1202)

(cherry picked from commit e40276c12b)
This commit is contained in:
Brent Murphy
2021-05-13 11:43:13 -04:00
committed by github-actions[bot]
parent 138e410a06
commit 88fda20b78
+2 -2
View File
@@ -113,8 +113,8 @@ def import_rules(input_file, directory):
@root.command('toml-lint')
@click.option('--rule-file', '-f', type=click.Path(), multiple=True,
help='Optionally specify rule files')
@click.option('--rule-file', '-f', multiple=True, type=click.Path(exists=True),
help='Specify one or more rule files.')
def toml_lint(rule_file):
"""Cleanup files with some simple toml formatting."""
if rule_file: