Skip to content

Commit

Permalink
[minor] Not jQuery style.
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Jun 9, 2015
1 parent 6ad84ba commit 0e9c704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/winston/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ Logger.prototype.add = function (transport, options, created) {
// Listen for the `error` event on the new Transport
//
instance._onError = this._onError.bind(this, instance)
if (! created) {
if (!created) {
instance.on('error', instance._onError);
}

Expand Down

0 comments on commit 0e9c704

Please sign in to comment.