Permalink
Browse files

fix typo. no more global leak, now server/write.js works as intended

  • Loading branch information...
1 parent b04b81a commit ff6bdccd470955c5adb0adc9d8d31f77c2bed3d8 @lloyd lloyd committed May 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/server/write.js
View
@@ -4,7 +4,7 @@ module.exports = function (stream) {
code = parseInt(code, 10);
}
else if (typeof code !== 'number' && !lines) {
- msg = code;
+ lines = code;
code = undefined;
}
if (code === undefined) code = defaultCode;

0 comments on commit ff6bdcc

Please sign in to comment.