Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
Disable shellcheck SC2230
Browse files Browse the repository at this point in the history
https://github.com/koalaman/shellcheck/wiki/SC2230

See: "SC2230 - command -v is not a direct replacement for which #1162"
  koalaman/shellcheck#1162
  • Loading branch information
xwmx committed Aug 24, 2018
1 parent 4d83d38 commit b8290a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions airport
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ _airport() {
local _networksetup_cmd
local _wifi_interface

# shellcheck disable=SC2230
# https://github.com/koalaman/shellcheck/wiki/SC2230
# See: "SC2230 - command -v is not a direct replacement for which #1162"
# https://github.com/koalaman/shellcheck/issues/1162
_networksetup_cmd="$(which networksetup)"

# Command references:
Expand Down

0 comments on commit b8290a7

Please sign in to comment.