Fix bug where it always gave false positives about old generators

This commit is contained in:
Jeremy McAnally 2010-03-31 15:30:43 -05:00
parent 33cbc3509b
commit 93dc581119
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ module Rails
grep_for("def manifest", g).empty? ? g : nil grep_for("def manifest", g).empty? ? g : nil
end.compact end.compact
if files if !files.empty?
alert( alert(
"Old Rails generator API", "Old Rails generator API",
"A plugin in the app is using the old generator API (a new one may be available at http://github.com/trydionel/rails3-generators).", "A plugin in the app is using the old generator API (a new one may be available at http://github.com/trydionel/rails3-generators).",