mirror of
https://github.com/ZetaKebab/kesper.git
synced 2025-07-01 09:27:37 +00:00
Fixed logic for checking GitHub token
no issue - the check needs to be inverted to ensure we're being passed a token
This commit is contained in:
@ -111,8 +111,8 @@ exports.release = async () => {
|
|||||||
|
|
||||||
const githubToken = process.env.GST_TOKEN;
|
const githubToken = process.env.GST_TOKEN;
|
||||||
|
|
||||||
if (githubToken) {
|
if (!githubToken) {
|
||||||
console.log('Please configure your environment with a Github token located in GST_TOKEN');
|
console.log('Please configure your environment with a GitHub token located in GST_TOKEN');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user