Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
fix: Need to negate this (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
therynamo authored Mar 2, 2020
1 parent 3a63ad7 commit c4e567f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if (process.env.NODE_ENV !== 'test') {
nconf.set('github:repo', github_repo);
nconf.set('github:tagId', github_tag_id);

if (github_token)
if (!github_token)
throw Error("Captain's log requires a Github Token to run. Please verify you've set one and try again.");
nconf.set('github:token', github_token);

Expand Down

0 comments on commit c4e567f

Please sign in to comment.