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

Fix truncation errors #44

Merged
merged 2 commits into from
Apr 4, 2016
Merged

Fix truncation errors #44

merged 2 commits into from
Apr 4, 2016

Commits on Apr 4, 2016

  1. Use only console.log in terminal outpt

    `console.error` does not always have the same buffering settings as
    `console.log` and so printing to both does not always cause output to be
    shown in the intended order. `console.error` should only be used for
    real errors that happen elsewhere.
    orangejulius committed Apr 4, 2016
    Configuration menu
    Copy the full SHA
    837d9a9 View commit details
    Browse the repository at this point in the history
  2. Set exit code variable without calling process.exit

    `process.exit` quits immediately, without allowing buffered output from
    say, a `console.log` to be printed. See these Node.js issues:
    
    nodejs/node#3669
    nodejs/node#3170
    nodejs/node#2972 (comment)
    orangejulius committed Apr 4, 2016
    Configuration menu
    Copy the full SHA
    996b1e7 View commit details
    Browse the repository at this point in the history