diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
commit | 311b0269b4eb9839fa63f80c8d7a58f32b8138a0 (patch) | |
tree | 07e7870bca8aed6d61fdcc810731c50d2c40af47 /scripts/security-harness | |
parent | 27909cef6c4170ed9205afa7426b8d3de47cbb0c (diff) |
Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42
Diffstat (limited to 'scripts/security-harness')
-rwxr-xr-x | scripts/security-harness | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/security-harness b/scripts/security-harness index ec062fc17cc..df499be23f5 100755 --- a/scripts/security-harness +++ b/scripts/security-harness @@ -4,7 +4,6 @@ require 'digest' require 'fileutils' -require 'open3' if ENV['NO_COLOR'] SHELL_RED = '' @@ -19,7 +18,7 @@ else end LEFTHOOK_GLOBAL_CONFIG_PATH = File.expand_path("../lefthook.yml", __dir__) -HOOK_PATH = Open3.capture3("git rev-parse --path-format=absolute --git-path hooks/pre-push")[0].strip +HOOK_PATH = `git rev-parse --path-format=absolute --git-path hooks/pre-push`.split.last HOOK_DATA = <<~HOOK #!/usr/bin/env bash |