diff --git a/index.js b/index.js index 47b44d7..dd0d891 100644 --- a/index.js +++ b/index.js @@ -8,9 +8,8 @@ var assert = require('assert') var map = require('map-limit') var os = require('os') -// Use junctions on Windows < Vista (6.0), -// Vista and later support regular symlinks. -if (os.platform() === 'win32' && parseInt(os.release()) < 6) { +// Use junctions on Windows +if (os.platform() === 'win32') { var symlinkType = 'junction' } else { symlinkType = 'dir'