Add unset to list of commands exempt from 2016

Fixes #1186
This commit is contained in:
Ng Zhi An 2018-05-06 16:45:57 -07:00
parent ef6a5b97b9
commit 20ad7dc8de
1 changed files with 1 additions and 0 deletions

View File

@ -818,6 +818,7 @@ checkSingleQuotedVariables params t@(T_SingleQuoted id s) =
,"docker" -- like above ,"docker" -- like above
,"dpkg-query" ,"dpkg-query"
,"jq" -- could also check that user provides --arg ,"jq" -- could also check that user provides --arg
,"unset"
] ]
|| "awk" `isSuffixOf` commandName || "awk" `isSuffixOf` commandName
|| "perl" `isPrefixOf` commandName || "perl" `isPrefixOf` commandName