Skip to content

Commit

Permalink
[fix] Casing matters on some platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Oct 29, 2015
1 parent 5781b36 commit 3c80509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/winston/transports.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Object.defineProperties(
configurable: true,
enumerable: true,
get: function () {
var fullpath = path.join(__dirname, 'transports', name);
var fullpath = path.join(__dirname, 'transports', name.toLowerCase());
return exports[name] = require(fullpath)[name];
}
};
Expand Down

0 comments on commit 3c80509

Please sign in to comment.