Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

spelling and dead code

  • Loading branch information...
commit b158ea7e240e8679219fff902007c17e344729a4 1 parent b91633d
Di Wu authored
Showing with 6 additions and 7 deletions.
  1. +1 −1  lib/broadway/plugins/log.js
  2. +5 −6 test/helpers/assert.js
View
2  lib/broadway/plugins/log.js
@@ -49,7 +49,7 @@ log.attach = function (options) {
}
//
- // Hoist up relelvant logging functions onto the app
+ // Hoist up relevant logging functions onto the app
// if requested.
//
this.log = new winston.Container(options);
View
11 test/helpers/assert.js
@@ -5,7 +5,7 @@
* MIT LICENSE
*
*/
-
+
var assert = module.exports = require('assert'),
fs = require('fs'),
path = require('path'),
@@ -35,7 +35,7 @@ assert.plugins.has = {
}
},
exceptions: function (app) {
-
+
},
directories: function (app) {
if (app.options['directories']) {
@@ -43,11 +43,10 @@ assert.plugins.has = {
assert.isTrue((fs.existsSync || path.existsSync)(app.options['directories'][key]));
});
}
- //assert.isTrue(!!app.config.get('directories'))
},
log: function (app) {
assert.isObject(app.log);
-
+
//
// TODO: Assert winston.extend methods
//
@@ -62,7 +61,7 @@ assert.plugins.notHas = {
assert.isTrue(!app.config);
},
exceptions: function (app) {
-
+
},
directories: function (app) {
assert.isTrue(!app.config.get('directories'))
@@ -71,7 +70,7 @@ assert.plugins.notHas = {
assert.isTrue(!app.log);
//
// TODO: Assert winston.extend methods
- //
+ //
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.