only insert external repos token if supplied

This commit is contained in:
Robert 2021-01-19 15:28:05 +00:00
parent b0adc415a0
commit cb574a7d60
13 changed files with 92 additions and 23 deletions

View file

@ -155,7 +155,7 @@ program
const apiDetails = {
auth: cmd.githubAuth,
externalRepoAuth: cmd.externalRepositoryToken ?? cmd.githubAuth,
externalRepoAuth: cmd.externalRepositoryToken,
url: parseGithubUrl(cmd.githubUrl),
};