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

Don't call process.exit(0) on success. #11

Merged
merged 1 commit into from
Sep 20, 2016

Commits on Sep 20, 2016

  1. Don't call process.exit(0) on success.

    This causes commands like `optimize-js large-file.js` to not output the full output to stdout.
    
    To repro:
    ```
    $ curl -O https://code.jquery.com/jquery-3.0.0.min.js
    $ optimize-js jquery-3.0.0.min.js  | wc
    // 3     982   65536
    $ optimize-js jquery-3.0.0.min.js > foo.js
    $ cat foo.js | wc
    //  5    1312   86638
    ```
    ymichael committed Sep 20, 2016
    Configuration menu
    Copy the full SHA
    279d3a8 View commit details
    Browse the repository at this point in the history