Skip to content

Commit

Permalink
Fix: Support Windows extended-length paths with path.join (fixes #200) (
Browse files Browse the repository at this point in the history
  • Loading branch information
charlespierce authored May 20, 2020
1 parent a3d52f2 commit 8570b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var logVerify = require('./lib/shared/log/verify');
var logBlacklistError = require('./lib/shared/log/blacklist-error');

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

// Set env var for ORIGINAL cwd
// before anything touches it
Expand Down

0 comments on commit 8570b0c

Please sign in to comment.