Refactored code based on shellcheck

This commit is contained in:
Jason Hee committed 2016-12-05 15:28:09 +08:00
1 parent b9b66c711f
commit 69b536300d
4 files changed
+52 -42

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ set -ex
function getCurrentDir() {
local current_dir="${BASH_SOURCE%/*}"
if [[ ! -d "${current_dir}" ]]; then current_dir="$PWD"; fi
echo ${current_dir}
echo "${current_dir}"
}
function runUnitTest() {