Skip to content

Commit

Permalink
Removed file better_form.js when uninstalling plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nfm committed Feb 14, 2010
1 parent 7799a09 commit 69175bb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion uninstall.rb
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
# Uninstall hook code here
# Remove better_form.js from public/javascripts/
path = "public/javascripts/better_form.js"
puts "Removing #{path}"
begin
File.remove(path)
rescue Exception => e
puts "Unable to remove #{path}"
puts e
end

0 comments on commit 69175bb

Please sign in to comment.