Skip to content
Browse files

[minor] keep legacy name.

  • Loading branch information...
1 parent 06435c4 commit 3fe76aeafd365ac2f1076065fbd37f5e773ff303 @chjj chjj committed May 10, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/winston-nssocket.js
View
5 lib/winston-nssocket.js
@@ -38,6 +38,11 @@ util.inherits(NsSocket, winston.Transport);
NsSocket.prototype.name = 'nssocket';
//
+// Legacy Name
+//
+exports.NsSocket = NsSocket;
+
+//
// Define a getter so that `winston.transports.Nssocket`
// is available and thus backwards compatible.
//

0 comments on commit 3fe76ae

Please sign in to comment.
Something went wrong with that request. Please try again.