mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-21 17:36:04 +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
81ae9e771c
commit
40341375dd
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