Skip to content

Commit a6b4e17

Browse files
authored
fix: portability of the sast command (#4)
1 parent 92ed238 commit a6b4e17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/sast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -euo pipefail
33

44
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5-
PLUGINS_DIR="$REPO_ROOT/plugins"
5+
PLUGINS_DIR="${1:-$REPO_ROOT/plugins}"
66

77
FINDINGS=0
88
EXIT_CODE=0

0 commit comments

Comments
 (0)