From 662be145353cf302707281cd67bb2b4b7b98917b Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 30 Sep 2012 23:06:40 -0700 Subject: [PATCH] Tweak whitespace in README.md and update QUnit-CLIB. Former-commit-id: b8fed819580bf7db926b8a4cfb794aa7666c5f58 --- README.md | 14 +++++++------- vendor/qunit-clib/qunit-clib.js | 7 ++++++- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 94f392c36..563275e0a 100644 --- a/README.md +++ b/README.md @@ -139,13 +139,13 @@ Unless specified by `-o` or `--output`, all files created are saved to the curre The following options are also supported: - * `-c`, `--stdout`   Write output to standard output - * `-d`, `--debug`    Write only the debug output - * `-h`, `--help`     Display help information - * `-m`, `--minify`   Write only the minified output - * `-o`, `--output`   Write output to a given path/filename - * `-s`, `--silent`   Skip status updates normally logged to the console - * `-V`, `--version`  Output current version of Lo-Dash + * `-c`, `--stdout`     Write output to standard output + * `-d`, `--debug`       Write only the debug output + * `-h`, `--help`         Display help information + * `-m`, `--minify`     Write only the minified output + * `-o`, `--output`     Write output to a given path/filename + * `-s`, `--silent`     Skip status updates normally logged to the console + * `-V`, `--version`   Output current version of Lo-Dash The `lodash` command-line utility is available when Lo-Dash is installed as a global package (i.e. `npm install -g lodash`). diff --git a/vendor/qunit-clib/qunit-clib.js b/vendor/qunit-clib/qunit-clib.js index e3edde6be..14a3da825 100644 --- a/vendor/qunit-clib/qunit-clib.js +++ b/vendor/qunit-clib/qunit-clib.js @@ -171,7 +171,12 @@ // exit out of Node.js try { - process.exit(details.failed); + if (details.failed) { + console.error('Error: ' + details.failed + ' of ' + details.total + ' tests failed.'); + process.exit(1); + } else { + process.exit(0); + } } catch(e) { } }