mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-23 18:09:55 +00:00
test!: Remove testing utils for getting GitHub token
This is no longer needed under the new API.
This commit is contained in:
parent
c44d750e6f
commit
c8b05abe99
1 changed files with 0 additions and 12 deletions
|
@ -1,12 +0,0 @@
|
||||||
export function getToken(first: boolean): string {
|
|
||||||
const token = process.env["GITHUB_TOKEN"] || ""
|
|
||||||
if (!token && first) {
|
|
||||||
/* eslint-disable-next-line no-console */
|
|
||||||
console.warn(
|
|
||||||
"Skipping GitHub tests. Set $GITHUB_TOKEN to run REST client and GraphQL client tests"
|
|
||||||
)
|
|
||||||
first = false
|
|
||||||
}
|
|
||||||
|
|
||||||
return token
|
|
||||||
}
|
|
Loading…
Reference in a new issue