Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Farley <[email protected]>
  • Loading branch information
adamfarley committed Dec 17, 2024
1 parent 864127d commit e8b3298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/functionLibrary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function checkFileSha() {
return 1
fi

if [[ ! -x $2 ]]; then
if [[ ! -x "${2}" ]]; then
info "The file we're trying to check does not exist: ${2}"
return 1
fi
Expand Down
2 changes: 1 addition & 1 deletion lib/tests/functionLibraryTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ function infoTests(){
# checkFileSha
function checkFileShaTests(){
# Does it work when it should?
info "enable" "logging"
checkFileSha "${sampleFileSha}" "${scriptDir}/${sampleFileName}"
testResults "checkFileShaTest 1" "$?"
echo "D1: $(ls ${scriptDir})"
info "enable" "logging"
echo "checkFileSha ${sampleFileSha} ${scriptDir}/${sampleFileName}"
info "disable" "logging"

Expand Down

0 comments on commit e8b3298

Please sign in to comment.