Skip to content

Commit 1552732

Browse files
committed
Use .bat extension for hook script on Windows
1 parent de5f0eb commit 1552732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/integration/run_flag_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
context 'when using an existing pre-commit hook script' do
77
if Overcommit::OS.windows?
8-
let(:script_name) { 'test-script.exe' }
8+
let(:script_name) { 'test-script.bat' }
99
let(:script_contents) { 'exit 0' }
1010
else
1111
let(:script_name) { 'test-script' }

0 commit comments

Comments
 (0)