summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-11-10 01:30:35 +0000
committermo khan <mo.khan@gmail.com>2020-11-10 01:30:35 +0000
commit82338d974f42149e70f9163567940453f8f18b79 (patch)
tree8f61c9dccbd468de456e516113e9d6f289a7a157 /spec/support
parentf8200b265f63173c9b8d0b26470b449f512dbd17 (diff)
fix: detect maven wrapper in sub directory
* chore: fix bin scripts
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/project_helper.rb2
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)