diff options
Diffstat (limited to 'spec/support/prepare-gitlab-git-test-for-commit')
-rwxr-xr-x | spec/support/prepare-gitlab-git-test-for-commit | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/prepare-gitlab-git-test-for-commit b/spec/support/prepare-gitlab-git-test-for-commit index d08e3ba5481..72a11449877 100755 --- a/spec/support/prepare-gitlab-git-test-for-commit +++ b/spec/support/prepare-gitlab-git-test-for-commit @@ -1,11 +1,11 @@ #!/usr/bin/env ruby abort unless [ - system('spec/support/generate-seed-repo-rb', out: 'spec/support/helpers/seed_repo.rb'), - system('spec/support/unpack-gitlab-git-test') + system("spec/support/generate-seed-repo-rb", out: "spec/support/helpers/seed_repo.rb"), + system("spec/support/unpack-gitlab-git-test"), ].all? -exit if ARGV.first != '--check-for-changes' +exit if ARGV.first != "--check-for-changes" git_status = IO.popen(%w[git status --porcelain], &:read) abort unless $?.success? |