diff --git a/skip.js b/skip.js index e000548..7a453e4 100644 --- a/skip.js +++ b/skip.js @@ -1,3 +1,4 @@ -if (process.platform === 'win32') { +const platform = process.env.npm_config_platform || process.platform +if (platform === 'win32') { process.exit(1) }