From f13a86647235e774c1374ecad97579ce85c6cc9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Fabianski?= Date: Thu, 19 Oct 2023 17:14:54 +0200 Subject: [PATCH] chore: remove feature flags for new languages (#165) --- .envrc.example | 3 --- scripts/invoke.sh | 6 ------ 2 files changed, 9 deletions(-) diff --git a/.envrc.example b/.envrc.example index c138c40df..a6a6c941a 100644 --- a/.envrc.example +++ b/.envrc.example @@ -1,5 +1,2 @@ export BEARER_VERSION=latest export BEARER_WORKSPACE=$PWD/../bearer -export BEARER_PHP_ENABLED=true -export BEARER_PYTHON_ENABLED=true -export BEARER_GOLANG_ENABLED=true diff --git a/scripts/invoke.sh b/scripts/invoke.sh index f71cb019a..7c27bfc24 100755 --- a/scripts/invoke.sh +++ b/scripts/invoke.sh @@ -16,9 +16,6 @@ cp -R $test_location $tmp_location if [ -n "$BEARER_WORKSPACE" ]; then cd $BEARER_WORKSPACE - BEARER_GOLANG_ENABLED=true \ - BEARER_PYTHON_ENABLED=true \ - BEARER_PHP_ENABLED=true \ go run ./cmd/bearer/main.go scan $tmp_location \ --only-rule=$rule_id \ --quiet \ @@ -35,9 +32,6 @@ else --rm \ -v /tmp/bearer-scan:/tmp/bearer-scan \ -v $rule_loc:/tmp/rules \ - -e BEARER_PHP_ENABLED=true \ - -e BEARER_PYTHON_ENABLED=true \ - -e BEARER_GOLANG_ENABLED=true \ bearer/bearer:$BEARER_VERSION \ scan $tmp_location \ --only-rule=$rule_id \