diff options
| author | mo khan <mo.khan@gmail.com> | 2020-11-10 01:30:35 +0000 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-11-10 01:30:35 +0000 |
| commit | 1bc270fea3b352b44dfcef3fe16e97a2bbd4d7a5 (patch) | |
| tree | 8f61c9dccbd468de456e516113e9d6f289a7a157 /spec/support/project_helper.rb | |
| parent | f8200b265f63173c9b8d0b26470b449f512dbd17 (diff) | |
| parent | 82338d974f42149e70f9163567940453f8f18b79 (diff) | |
Merge branch '273155-recursive' into 'main'v3.28.2
Detect maven/gradle wrapper in sub directory
See merge request gitlab-org/security-products/analyzers/license-finder!15
Diffstat (limited to 'spec/support/project_helper.rb')
| -rw-r--r-- | spec/support/project_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/project_helper.rb b/spec/support/project_helper.rb index f64df98..f80a23a 100644 --- a/spec/support/project_helper.rb +++ b/spec/support/project_helper.rb @@ -28,7 +28,7 @@ class ProjectHelper if branch.match?(/\b[0-9a-f]{5,40}\b/) execute({}, 'git', 'clone', '--quiet', repo, project_path.to_s) chdir do - execute({}, 'git', 'checkout', branch) + execute({}, 'git', 'checkout', '--quiet', branch) end else execute({}, 'git', 'clone', '--quiet', '--depth=1', '--single-branch', '--branch', branch, repo, project_path.to_s) |
