Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Keep copyright info for JS

  • Loading branch information...
commit 5eb7f73339388b3bc764e46a3b8c309d774ab0e1 1 parent fc3da3e
@gkoberger gkoberger authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jingo_minify/management/commands/compress_assets.py
View
2  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}
Please sign in to comment.
Something went wrong with that request. Please try again.