From 0f9c60b4646b1661f8f8304ba471ac8e43416002 Mon Sep 17 00:00:00 2001 From: mathieudutour Date: Mon, 6 Nov 2017 22:20:12 +0100 Subject: [PATCH] fix isFork --- script/build.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/script/build.ts b/script/build.ts index b3a7a5e3c..35a54ec7e 100755 --- a/script/build.ts +++ b/script/build.ts @@ -38,9 +38,7 @@ copyEmoji() console.log('Copying static resources…') copyStaticResources() -const isFork = - process.env.CIRCLE_PR_USERNAME || - process.env.TRAVIS_SECURE_ENV_VARS !== 'true' +const isFork = process.env.CIRCLE_PR_USERNAME if ( process.env.CIRCLE_BUILD_IMAGE && process.env.CIRCLE_BUILD_IMAGE === 'osx' &&