Permalink
Browse files

Keep copyright info for JS

  • Loading branch information...
1 parent fc3da3e commit 5eb7f73339388b3bc764e46a3b8c309d774ab0e1 @gkoberger gkoberger committed Dec 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jingo_minify/management/commands/compress_assets.py
@@ -160,7 +160,7 @@ def _minify(self, ftype, file_in, file_out):
"""Run the proper minifier on the file."""
if ftype == 'js' and hasattr(settings, 'UGLIFY_BIN'):
o = {'method': 'UglifyJS', 'bin': settings.UGLIFY_BIN}
- call("%s %s -nc -o %s %s" % (o['bin'], self.v, file_out, file_in),
+ call("%s %s -o %s %s" % (o['bin'], self.v, file_out, file_in),
shell=True, stdout=PIPE)
elif ftype == 'css' and hasattr(settings, 'CLEANCSS_BIN'):
o = {'method': 'clean-css', 'bin': settings.CLEANCSS_BIN}

0 comments on commit 5eb7f73

Please sign in to comment.