Skip to content

Commit 8570b0c

Browse files
Fix: Support Windows extended-length paths with path.join (fixes #200) (#201)
1 parent a3d52f2 commit 8570b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var logVerify = require('./lib/shared/log/verify');
2828
var logBlacklistError = require('./lib/shared/log/blacklist-error');
2929

3030
// Get supported ranges
31-
var ranges = fs.readdirSync(__dirname + '/lib/versioned/');
31+
var ranges = fs.readdirSync(path.join(__dirname, '/lib/versioned/'));
3232

3333
// Set env var for ORIGINAL cwd
3434
// before anything touches it

0 commit comments

Comments
 (0)