Use the API URL from the environment if it is present.
This commit is contained in:
parent
a6d09016e7
commit
bbdc9efa94
42 changed files with 122 additions and 22 deletions
|
|
@ -202,6 +202,7 @@ program
|
|||
auth,
|
||||
externalRepoAuth: auth,
|
||||
url: parseGitHubUrl(cmd.githubUrl),
|
||||
apiURL: undefined,
|
||||
};
|
||||
|
||||
const gitHubVersion = await getGitHubVersion(apiDetails);
|
||||
|
|
@ -475,6 +476,7 @@ program
|
|||
const apiDetails = {
|
||||
auth,
|
||||
url: parseGitHubUrl(cmd.githubUrl),
|
||||
apiURL: undefined,
|
||||
};
|
||||
|
||||
const outputDir =
|
||||
|
|
@ -587,6 +589,7 @@ program
|
|||
const apiDetails = {
|
||||
auth,
|
||||
url: parseGitHubUrl(cmd.githubUrl),
|
||||
apiURL: undefined,
|
||||
};
|
||||
try {
|
||||
const gitHubVersion = await getGitHubVersion(apiDetails);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue