silence warning from Engine::HTTP when $ENV{HARNESS_ACTIVE} is true
Brian Cassidy [Thu, 1 Dec 2011 15:34:06 +0000 (11:34 -0400)]
lib/Catalyst/Engine/HTTP.pm

index 526fec9..9b9ecd3 100644 (file)
@@ -14,7 +14,7 @@ Please update your application's scripts with:
 
   catalyst.pl -force -scripts MyApp
 
-to update your scripts to not do this.\n");
+to update your scripts to not do this.\n") unless $ENV{HARNESS_ACTIVE};
 
 1;