Fixed some shellcheck warnings
This commit is contained in:
4
test/run
4
test/run
@@ -5,7 +5,9 @@ bats_executable="${test_directory}/../test_lib/bats-core/bin/bats"
|
||||
git submodule init && git submodule update
|
||||
|
||||
if [ -z "${BASH_IT}" ]; then
|
||||
export BASH_IT=$(cd ${test_directory} && dirname $(pwd))
|
||||
declare BASH_IT
|
||||
BASH_IT=$(cd ${test_directory} && dirname "$(pwd)")
|
||||
export BASH_IT
|
||||
fi
|
||||
|
||||
exec $bats_executable ${CI:+--tap} ${test_directory}/{bash_it,completion,install,lib,plugins,themes}
|
||||
|
||||
Reference in New Issue
Block a user