Add 'eval' to list of banned commands.

This commit is contained in:
Trevor Brown 2017-11-16 22:43:52 -05:00
parent e91e453580
commit 8794210b8e
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ plugin_test_command() {
fi fi
if [ -n "$plugin_command" ]; then if [ -n "$plugin_command" ]; then
(PATH="$ASDF_DIR/bin:$ASDF_DIR/shims:$PATH" eval "$plugin_command") (PATH="$ASDF_DIR/bin:$ASDF_DIR/shims:$PATH" "$plugin_command")
local exit_code local exit_code
exit_code=$? exit_code=$?
if [ $exit_code != 0 ]; then if [ $exit_code != 0 ]; then

View File

@ -2,7 +2,7 @@
load test_helpers load test_helpers
banned_commands=(realpath) banned_commands=(realpath eval)
setup() { setup() {
setup_asdf_dir setup_asdf_dir