Skip to content

Commit

Permalink
chore: allow go exec to be passed
Browse files Browse the repository at this point in the history
  • Loading branch information
cfabianski committed Nov 9, 2023
1 parent 3a6cf8b commit cd36ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .envrc.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export BEARER_VERSION=latest
export BEARER_WORKSPACE=$PWD/../bearer
export GO_EXEC=go
2 changes: 1 addition & 1 deletion scripts/invoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cp -R $test_location $tmp_location

if [ -n "$BEARER_WORKSPACE" ]; then
cd $BEARER_WORKSPACE
asdf exec go run ./cmd/bearer/main.go scan $tmp_location \
$GO_EXEC run ./cmd/bearer/main.go scan $tmp_location \
--only-rule=$rule_id \
--quiet \
--disable-default-rules=true \
Expand Down

0 comments on commit cd36ec2

Please sign in to comment.