mirror of https://github.com/zulip/zulip.git
Fix existing trailing whitespace in bash scripts.
This commit is contained in:
parent
4fa63c29ca
commit
caba24b2af
|
@ -113,6 +113,7 @@ def custom_check_file(fn, rules, skip_rules=[]):
|
|||
return failed
|
||||
|
||||
whitespace_rules = [
|
||||
# This linter should be first since bash_rules depends on it.
|
||||
{'pattern': '\s+$',
|
||||
'strip': '\n',
|
||||
'description': 'Fix trailing whitespace'},
|
||||
|
|
Loading…
Reference in New Issue