mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Update vendor/qunit-clib to avoid logInline when running on Windows.
This commit is contained in:
5
vendor/qunit-clib/qunit-clib.js
vendored
5
vendor/qunit-clib/qunit-clib.js
vendored
@@ -132,7 +132,8 @@
|
|||||||
*/
|
*/
|
||||||
var logInline = (function() {
|
var logInline = (function() {
|
||||||
// exit early if not Node.js
|
// exit early if not Node.js
|
||||||
if (!(typeof process == 'object' && process && process.on && process.stdout)) {
|
if (!(typeof process == 'object' && process &&
|
||||||
|
process.on && process.stdout && process.platform != 'win32')) {
|
||||||
return function() {};
|
return function() {};
|
||||||
}
|
}
|
||||||
// cleanup any inline logs when exited via `ctrl+c`
|
// cleanup any inline logs when exited via `ctrl+c`
|
||||||
@@ -172,7 +173,7 @@
|
|||||||
console.log(' Finished in ' + details.runtime + ' milliseconds.');
|
console.log(' Finished in ' + details.runtime + ' milliseconds.');
|
||||||
console.log(hr);
|
console.log(hr);
|
||||||
|
|
||||||
// exit out of Narhwal, Rhino, or Ringo
|
// exit out of Narhwal, Rhino, or RingoJS
|
||||||
try {
|
try {
|
||||||
quit();
|
quit();
|
||||||
} catch(e) { }
|
} catch(e) { }
|
||||||
|
|||||||
Reference in New Issue
Block a user