Skip to content
Browse files

lint

  • Loading branch information...
1 parent 6bcd1d5 commit b7fd43d2c910595289f3abf9743df5b717fdd6fe @isaacs committed Dec 2, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/_stream_readable.js
  2. +1 −1 lib/path.js
View
4 lib/_stream_readable.js
@@ -303,7 +303,7 @@ Readable.prototype.pipe = function(dest, pipeOpts) {
state.pipes = dest;
break;
case 1:
- state.pipes = [ state.pipes, dest ];
+ state.pipes = [state.pipes, dest];
break;
default:
state.pipes.push(dest);
@@ -390,7 +390,7 @@ function pipeOnDrain(src) {
return function() {
var dest = this;
var state = src._readableState;
- state.awaitDrain --;
+ state.awaitDrain--;
if (state.awaitDrain === 0)
flow(src);
};
View
2 lib/path.js
@@ -82,7 +82,7 @@ if (isWindows) {
var normalizeUNCRoot = function(device) {
return '\\\\' + device.replace(/^[\\\/]+/, '').replace(/[\\\/]+/g, '\\');
- }
+ };
// path.resolve([from ...], to)
// windows version

0 comments on commit b7fd43d

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