Skip to content
Snippets Groups Projects
Commit 805cd837 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

refactor: GITHUB_COM_TOKEN after GITHUB_TOKEN

parent ca72f49c
No related branches found
No related tags found
No related merge requests found
......@@ -39,13 +39,6 @@ function getConfig(env) {
}
});
if (env.GITHUB_COM_TOKEN) {
config.endpoints.push({
endpoint: 'https://api.github.com/',
platform: 'github',
token: env.GITHUB_COM_TOKEN,
});
}
if (env.GITHUB_TOKEN) {
config.endpoints.push({
platform: 'github',
......@@ -55,6 +48,14 @@ function getConfig(env) {
});
}
if (env.GITHUB_COM_TOKEN) {
config.endpoints.push({
endpoint: 'https://api.github.com/',
platform: 'github',
token: env.GITHUB_COM_TOKEN,
});
}
if (env.GITLAB_TOKEN) {
config.endpoints.push({
platform: 'gitlab',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment