Browse files

Based on #93 (which was not correct), we attempt to resolve #86.

#93 was created by a user who no longer exists on github, so I cannot merge it and give credit to that user. The patch did introduce a couple of spec failures, and, here, I attempt to avoid them.

Note that we still need a spec to test this; I will ask participants in #86 for that.
  • Loading branch information...
1 parent 58ecd07 commit 7a7b62bcf88c215fdf19bfb9fa393533e71bba1f @BanzaiMan BanzaiMan committed Jan 31, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/warbler/jar.rb
@@ -86,6 +86,9 @@ def create(config_or_path)
rm_f path
puts "Creating #{path}"
+ if Warbler::Config === config_or_path
+ @files.delete("#{config_or_path.jar_name}/#{path}")
+ end
create_jar path, @files

0 comments on commit 7a7b62b

Please sign in to comment.