Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

lint

  • Loading branch information...
commit 54cd4a8e18cc3adfd4c578a214ac9b378fed77d0 1 parent ad901fc
@isaacs isaacs authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.