fix 'make check'; correct version

This commit is contained in:
Trent Mick 2015-01-17 13:33:12 -08:00
parent 28e52193c6
commit f4b97a4952
2 changed files with 4 additions and 2 deletions

View file

@ -11,7 +11,7 @@
* vim: expandtab:ts=4:sw=4
*/
var VERSION = '1.2.5';
var VERSION = '1.3.0';
var p = console.log;
var util = require('util');
@ -1466,8 +1466,10 @@ process.on('uncaughtException', function (err) {
e('* The Bunyan CLI crashed!');
e('*');
if (err.name === 'ReferenceError' && gUsingConditionOpts) {
/* BEGIN JSSTYLED */
e('* This crash was due to a "ReferenceError", which is often the result of given');
e('* `-c CONDITION` code that doesn\'t guard against undefined values. If that is');
/* END JSSTYLED */
e('* not the problem:');
e('*');
}

View file

@ -1050,7 +1050,7 @@ function RotatingFileStream(options) {
this.count = (options.count == null ? 10 : options.count);
assert.equal(typeof (this.count), 'number',
format('rotating-file stream "count" is not a number: %j (%s) in %j',
this.count, typeof(this.count), this));
this.count, typeof (this.count), this));
assert.ok(this.count >= 0,
format('rotating-file stream "count" is not >= 0: %j in %j',
this.count, this));