Skip to content

Commit

Permalink
Print executability
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessByte committed Aug 11, 2024
1 parent fadf724 commit c794d3f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,15 @@ if test -f "${OUTPUT}package.json"; then
fi
fi;

bin_jest="$(corepack pnpm bin)/jest"
if [[ -f "${bin_jest}" && -x $(realpath "${bin_jest}") ]]; then
echo "✔️ jest executable found"
else
echo "💥 jest executable missing at ${bin_jest} or not executable"
echo "👁️ ${bin_jest} -> $(realpath "${bin_jest}")"
exit -1
fi;

# Disable auto exit
set +e

Expand Down

0 comments on commit c794d3f

Please sign in to comment.