diff options
| author | mo khan <mo.khan@gmail.com> | 2020-01-13 19:55:53 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-01-13 19:55:53 -0700 |
| commit | ad1003fb5fa0b775f1abb45022ccb4f2cb55f497 (patch) | |
| tree | cc7a9e050188b569935a6865d2edb547db9d6214 | |
| parent | 404fa217515b7f5f5340f0db131c638fdb0fe17e (diff) | |
Export LICENSE_FINDER_CLI_OPTS --recursive
| -rwxr-xr-x | bin/test-local | 2 | ||||
| -rw-r--r-- | spec/integration/dotnet/examples_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/test-local b/bin/test-local index 9a84b40..4111eb5 100755 --- a/bin/test-local +++ b/bin/test-local @@ -9,7 +9,7 @@ PROJECT_PATH="$1" if [ -z "$LM_HOME" ]; then export IMAGE_NAME=${IMAGE_NAME:-$(basename "$PWD"):latest} - docker run --rm --volume "$PROJECT_PATH":/code "$IMAGE_NAME" analyze /code + docker run --rm --env LICENSE_FINDER_CLI_OPTS --volume "$PROJECT_PATH":/code "$IMAGE_NAME" analyze /code else bash -l ./run.sh analyze "$PROJECT_PATH" fi diff --git a/spec/integration/dotnet/examples_spec.rb b/spec/integration/dotnet/examples_spec.rb index aa2a757..43caea0 100644 --- a/spec/integration/dotnet/examples_spec.rb +++ b/spec/integration/dotnet/examples_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' RSpec.describe ".NET Core" do it 'scans https://github.com/microsoft/RockPaperScissorsLizardSpock.git' do runner.clone('https://github.com/microsoft/RockPaperScissorsLizardSpock.git') - report = runner.scan + report = runner.scan(env: { 'LICENSE_FINDER_CLI_OPTS' => '--recursive' }) expect(report).not_to be_empty expect(report[:licenses].count).not_to be_zero |
