Browse files

Correct an error message

  • Loading branch information...
1 parent 3421398 commit 1103d03a3a7d77251e3da72181c9a9d57f20ddd5 @almirfilho almirfilho committed May 23, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 features/lolcommits.feature
  2. +1 −1 lib/lolcommits/installation.rb
View
2 features/lolcommits.feature
@@ -45,7 +45,7 @@ Feature: Basic UI functionality
And the "loltest" repository "post-commit" hook has content "#!/bin/ruby"
When I cd to "loltest"
And I run `lolcommits --enable`
- Then the output should contain "doesn't start with with a good shebang"
+ Then the output should contain "doesn't start with a good shebang"
And the file ".git/hooks/post-commit" should not contain "lolcommits --capture"
And the exit status should be 1
View
2 lib/lolcommits/installation.rb
@@ -27,7 +27,7 @@ def self.do_enable
# check for a good shebang line in the existing hook
unless good_shebang?
- warn "the existing hook (at #{HOOK_PATH}) doesn't start with with a good shebang; like #!/bin/sh"
+ warn "the existing hook (at #{HOOK_PATH}) doesn't start with a good shebang; like #!/bin/sh"
exit 1
end
end

0 comments on commit 1103d03

Please sign in to comment.