Skip to content

Commit

Permalink
fix: Adds "grep -P" to the list of banned commands
Browse files Browse the repository at this point in the history
As explained in #1062 #1033, `-P` is an option that does not exist in
OSX and causes problems of compatibility.
  • Loading branch information
threkk committed Oct 6, 2021
1 parent 3e0cb9a commit 56bdbe9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/banned_commands.bats
Expand Up @@ -24,7 +24,9 @@ banned_commands=(
"<("
# source isn't POSIX compliant. . behaves the same and is POSIX compliant
source
)
# grep -P is not a valid option in OSX.
"grep.* -P"
)

setup() {
setup_asdf_dir
Expand Down

0 comments on commit 56bdbe9

Please sign in to comment.