File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 12
12
if Overcommit ::OS . windows?
13
13
# Symlinks in template-dir are not compatible with Windows.
14
14
# Windows users will need to manually install Overcommit for now.
15
- skip
15
+ skip 'Unix symlinks not compatible with Windows'
16
16
end
17
17
18
18
Overcommit ::Utils . supported_hook_types . each do |hook_type |
Original file line number Diff line number Diff line change 17
17
end
18
18
19
19
it 'contains all other hooks as symlinks to the master hook' do
20
+ if Overcommit ::OS . windows?
21
+ # Symlinks in template-dir are not compatible with Windows.
22
+ # Windows users will need to manually install Overcommit for now.
23
+ skip 'Unix symlinks not compatible with Windows'
24
+ end
25
+
20
26
Overcommit ::Utils . supported_hook_types . each do |hook_type |
21
27
File . symlink? ( File . join ( hooks_dir , hook_type ) ) . should == true
22
28
end
You can’t perform that action at this time.
0 commit comments