Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output file appends undefined #9

Closed
alex88 opened this issue Nov 30, 2012 · 2 comments
Closed

Output file appends undefined #9

alex88 opened this issue Nov 30, 2012 · 2 comments

Comments

@alex88
Copy link

alex88 commented Nov 30, 2012

Hello, this is my config:

closureCompiler: {
  dist: {
    closureCompiler: 'vendor/closure/compiler.jar',
    js: '<config:concat.dist.dest>',
    output_file: 'dist/test.min.js',
    checkModified: false,
    options: {
      compilation_level: 'ADVANCED_OPTIMIZATIONS',
    }
  }
},

but when it tries to compile I get

Running "closureCompiler:dist" (closureCompiler) task
Executing: java -jar vendor/closure/compiler.jar  --js dist/test-js.js --js_output_file=dist/test.min.jsundefined

as you can see it adds an 'undefined' string at the end of the file.. Any idea why?

thanpolas added a commit that referenced this issue Nov 30, 2012
…o made percentage calc have a max of 2 decimals
@thanpolas
Copy link
Owner

Thank you @alex88, problem fixed now.

Make sure you upgrade to 0.6.7

@alex88
Copy link
Author

alex88 commented Nov 30, 2012

Thanks for the fix! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants