diff --git a/tools/zulint/lister.py b/tools/zulint/lister.py index a540eba28b..95f7ae7568 100755 --- a/tools/zulint/lister.py +++ b/tools/zulint/lister.py @@ -33,6 +33,8 @@ def get_ftype(fpath, use_shebang): return 'js' elif re.search(r'^#!.*\bruby', first_line): return 'rb' + elif re.search(r'^#!.*\btail', first_line): + return '' # do not lint these scripts. elif re.search(r'^#!', first_line): print('Error: Unknown shebang in file "%s":\n%s' % (fpath, first_line), file=sys.stderr) return ''