File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11
11
12
12
hook_type = File . basename ( $0)
13
13
if hook_type == 'overcommit-hook'
14
- puts "Don't run `overcommit-hook` directly; it is intended to be symlinked " <<
14
+ puts "Don't run `overcommit-hook` directly; it is intended to be symlinked " \
15
15
"by each hook in a repository's .git/hooks directory."
16
16
exit 64 # EX_USAGE
17
17
end
18
18
19
19
begin
20
20
require 'overcommit'
21
21
rescue LoadError
22
- puts 'Overcommit is not installed. Install it to manage git hooks for ' <<
22
+ puts 'Overcommit is not installed. Install it to manage git hooks for ' \
23
23
'this repository? (y/n)'
24
24
25
25
# If the hook isn't interactive, we need to map STDIN to keyboard manually
@@ -42,9 +42,9 @@ rescue LoadError
42
42
end
43
43
44
44
if Gem ::Version . new ( Overcommit ::VERSION ) < Gem ::Version . new ( '0.6.0' )
45
- puts "Installed version of Overcommit (#{ Overcommit ::VERSION } ) is " <<
46
- "incompatible with the installed hooks.\n " <<
47
- 'Run `gem install overcommit && overcommit --install` to ensure ' <<
45
+ puts "Installed version of Overcommit (#{ Overcommit ::VERSION } ) is " \
46
+ "incompatible with the installed hooks.\n " \
47
+ 'Run `gem install overcommit && overcommit --install` to ensure ' \
48
48
"you're up-to-date."
49
49
exit 64 # EX_USAGE
50
50
end
You can’t perform that action at this time.
0 commit comments