Disable 'use double quotes' warning

This commit is contained in:
Alexandre Aubin 2019-03-02 04:48:21 +01:00
parent bc45a6e327
commit d35de52b9b

View file

@ -399,8 +399,8 @@ def check_deprecated_practices(script):
def check_shellcheck(script_name):
try:
subprocess.run(["shellcheck","-e","SC1091","-x",script_name])
try:
subprocess.run(["shellcheck","-e","SC1091","-e","SC2086", "-x",script_name])
except FileNotFoundError as err:
print_warning("Binary shellcheck not found in $PATH, try to install it")
print_warning("Cannot parse the script with shellcheck")