Skip to content

Commit

Permalink
fix calling of .sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuchita Khare committed Feb 22, 2024
1 parent 5a832e0 commit 72cad64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/ci/helper_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

# A small utility to run a command and only print logs if the command fails.
# On success, all logs are hidden.
function log_errors {
log_errors {
if log=$("$@" 2>&1); then
echo "'$@' completed successfully!"
else
echo "$log"
return 1
fi
}
fi
}

0 comments on commit 72cad64

Please sign in to comment.