mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-23 10:09:54 +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
f42a08db49
commit
ea3e21d0fa
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