Fix bug where it always gave false positives about old generators
This commit is contained in:
parent
33cbc3509b
commit
93dc581119
|
@ -189,7 +189,7 @@ module Rails
|
|||
grep_for("def manifest", g).empty? ? g : nil
|
||||
end.compact
|
||||
|
||||
if files
|
||||
if !files.empty?
|
||||
alert(
|
||||
"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).",
|
||||
|
|
Loading…
Reference in New Issue