From 93dc581119df41557aba3317f84aaa34b7fa6825 Mon Sep 17 00:00:00 2001 From: Jeremy McAnally Date: Wed, 31 Mar 2010 15:30:43 -0500 Subject: [PATCH] Fix bug where it always gave false positives about old generators --- lib/application_checker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/application_checker.rb b/lib/application_checker.rb index 6d36748..eb91738 100644 --- a/lib/application_checker.rb +++ b/lib/application_checker.rb @@ -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).",