Skip to content

Commit

Permalink
fixed error if remove is called twice
Browse files Browse the repository at this point in the history
  • Loading branch information
fschwahn committed Apr 12, 2011
1 parent 29d10de commit 948f725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/powder
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Powder < Thor
desc "remove", "Remove a pow"
def remove(name=nil)
return unless is_powable?
FileUtils.rm POWPATH + '/' + (name || current_dir_pow_name)
FileUtils.rm_f POWPATH + '/' + (name || current_dir_pow_name)
end

desc "install", "Installs pow"
Expand Down

0 comments on commit 948f725

Please sign in to comment.