We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51d680e commit 7e3e6d7Copy full SHA for 7e3e6d7
lib/overcommit/hook/commit_msg/gerrit_change_id.rb
@@ -11,7 +11,7 @@ class GerritChangeId < Base
11
SCRIPT_LOCATION = Overcommit::Utils.script_path('gerrit-change-id')
12
13
def run
14
- result = execute([SCRIPT_LOCATION, commit_message_file])
+ result = execute(['sh', SCRIPT_LOCATION, commit_message_file])
15
return :pass if result.success?
16
17
[:fail, result.stdout]
0 commit comments