From a43c6b3cbc62b1e41173063ef02f03ed5ed49a56 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 4 Mar 2021 00:29:56 +0000 Subject: [PATCH] Fixed logic for checking GitHub token no issue - the check needs to be inverted to ensure we're being passed a token --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e974aa3..4fc3133 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -111,8 +111,8 @@ exports.release = async () => { const githubToken = process.env.GST_TOKEN; - if (githubToken) { - console.log('Please configure your environment with a Github token located in GST_TOKEN'); + if (!githubToken) { + console.log('Please configure your environment with a GitHub token located in GST_TOKEN'); return; }