Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Empty rake options

  • Loading branch information...
commit bc3a5bd91e722feb9b43ba7dda9226b2ee8174a2 1 parent 74c8747
Jakub Stastny aka Botanicus authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tasks/code-cleaner.rake
View
3  tasks/code-cleaner.rake
@@ -10,7 +10,8 @@ task "hooks:whitespace:install" do
else
begin
puts "Installing .git/hooks/pre-commit ..."
- source = File.join(File.dirname(__FILE__), "..", "support", "pre-commit.erb")
+ source = File.join(File.dirname(__FILE__), "..", "support", "pre-commit.erb")
+ options = Hash.new
File.open(".git/hooks/pre-commit", "w") do |file|
file.puts(ERB.new(File.read(source)).result)
end
Please sign in to comment.
Something went wrong with that request. Please try again.