[Jifty-commit] jifty branch, master, updated. bccdbc224ba6c4297054a43d5485855f371911d9

Jifty commits jifty-commit at lists.jifty.org
Mon Feb 15 00:11:44 EST 2010


The branch, master has been updated
       via  bccdbc224ba6c4297054a43d5485855f371911d9 (commit)
      from  142051c554fed3b376740f758e88f24e6945a7f3 (commit)

Summary of changes:
 lib/Jifty/Plugin/CompressedCSSandJS.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit bccdbc224ba6c4297054a43d5485855f371911d9
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Feb 15 00:05:31 2010 -0500

    Use ->log->warn instead of just calling warn

diff --git a/lib/Jifty/Plugin/CompressedCSSandJS.pm b/lib/Jifty/Plugin/CompressedCSSandJS.pm
index 4ee6624..fed661f 100644
--- a/lib/Jifty/Plugin/CompressedCSSandJS.pm
+++ b/lib/Jifty/Plugin/CompressedCSSandJS.pm
@@ -252,7 +252,7 @@ sub minify_js {
     run3 [$self->jsmin], $input, \$output, \$err;
 
     my $ret = $? >> 8;
-    warn "Javascript minify @{[$self->jsmin]} returned $ret:\n$err" if $ret;
+    $self->log->warn("Javascript minify @{[$self->jsmin]} returned $ret:\n$err") if $ret;
 
     $$input = $output;
 }

-----------------------------------------------------------------------


More information about the Jifty-commit mailing list