Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmark/fs/read-stream-throughput.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function main(conf) {
throw new Error('invalid type');
}

makeFile(runTest);
makeFile();
}

function runTest() {
Expand Down
4 changes: 0 additions & 4 deletions lib/path.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ const win32 = {
(code >= 97/*a*/ && code <= 122/*z*/)) {
// Possible device root

code = path.charCodeAt(1);
if (path.charCodeAt(1) === 58/*:*/) {
device = path.slice(0, 2);
rootEnd = 2;
Expand Down Expand Up @@ -412,7 +411,6 @@ const win32 = {
(code >= 97/*a*/ && code <= 122/*z*/)) {
// Possible device root

code = path.charCodeAt(1);
if (path.charCodeAt(1) === 58/*:*/) {
device = path.slice(0, 2);
rootEnd = 2;
Expand Down Expand Up @@ -790,7 +788,6 @@ const win32 = {
(code >= 97/*a*/ && code <= 122/*z*/)) {
// Possible device root

code = path.charCodeAt(1);
if (path.charCodeAt(1) === 58/*:*/) {
rootEnd = offset = 2;
if (len > 2) {
Expand Down Expand Up @@ -1057,7 +1054,6 @@ const win32 = {
(code >= 97/*a*/ && code <= 122/*z*/)) {
// Possible device root

code = path.charCodeAt(1);
if (path.charCodeAt(1) === 58/*:*/) {
rootEnd = 2;
if (len > 2) {
Expand Down