Skip to content

Commit

Permalink
[lib/prep.sh/lint] Ignore global variable defined elsewhere in program.
Browse files Browse the repository at this point in the history
Signed-off-by: Fletcher Nichol <fnichol@nichol.ca>
  • Loading branch information
fnichol committed Apr 23, 2019
1 parent 5a4139a commit 5431e8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ init() {
need_cmd hostname
need_cmd uname

# shellcheck disable=SC2154
local lib_path="$_root/lib"
local hostname
hostname="$(hostname)"
Expand Down

0 comments on commit 5431e8b

Please sign in to comment.