Skip to content

Commit

Permalink
cleaning up some code
Browse files Browse the repository at this point in the history
  • Loading branch information
t2 committed Dec 17, 2011
1 parent 6c45c53 commit 0e85cb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rails/hamlr.thor
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Hamlr < Thor::Group
haml.parse
remove_file(f) if delete
rescue Exception => e
puts e.message
puts "Oh snap! Error: #{e.message}"
end
end
end
Expand All @@ -38,7 +38,7 @@ class Hamlr < Thor::Group

private
def using_git?
File.directory? '.git'
File.directory?('.git')
end

def branch_project
Expand Down

0 comments on commit 0e85cb1

Please sign in to comment.