-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
I'm on windows 10 64bit -> process.platform == win32. But your code is:
https://github.com/jonschlinkert/is-invalid-path/blob/master/index.js#L11
const isWindows = (opts = {}) => process.platform !== 'win32' || opts.windows === true;I had to change it to:
const isWindows = (opts = {}) => process.platform === 'win32' || opts.windows === true;I'm confused to be the first to notice this :S