mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-23 10:09:54 +00:00
feat: Make get_nextflow_release compatible with arrays
Although it seems like we're moving backwards, the new API only supports a single data dump. I still like the iterative nature rather, so tack on array support.
This commit is contained in:
parent
ba9bc8bd26
commit
714c30554f
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ async function get_latest_stable_nextflow_release(
|
|||
|
||||
export async function get_nextflow_release(
|
||||
version: string,
|
||||
releases: AsyncGenerator<NextflowRelease>
|
||||
releases: NextflowRelease[] | AsyncGenerator<NextflowRelease>
|
||||
): Promise<NextflowRelease> {
|
||||
// First, check to see if we are using a "latest-*" version system, and return
|
||||
// early
|
||||
|
|
Loading…
Reference in a new issue