From 552c45b4ee3fabfa4978586eb5bfa363133cd7b0 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Tue, 11 Jun 2019 14:42:36 +0200 Subject: [PATCH] Don't skip building if cross-compiling --- skip.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) }