Skip to content

Commit db653b9

Browse files
committed
fix insider installation check 🙈
1 parent a720762 commit db653b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/runInsider.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
# Check for install/updates at https://github.com/insidersec/insider
44

5-
which insider > /dev/null || (echo 'Insider not found. Visit https://github.com/insidersec/insider and follow installation instructions' && exit 1)
5+
if ! command -v insider &> /dev/null; then
6+
echo "Insider not found. Visit https://github.com/insidersec/insider and follow installation instructions"
7+
exit 1
8+
fi
69

710
benchmark_version=$(scripts/getBenchmarkVersion.sh)
811
insider_version=$(insider -version | grep Version | cut -d' ' -f2)

0 commit comments

Comments
 (0)