make linter happy

This commit is contained in:
mashehu 2024-01-09 13:28:07 +01:00 committed by Thomas A. Christensen II
parent aedbf9a630
commit a082e105b0
6 changed files with 7 additions and 9 deletions

View file

@ -4,7 +4,7 @@ import retry from "async-retry"
import * as fs from "fs" import * as fs from "fs"
import semver from "semver" import semver from "semver"
import { NextflowRelease } from "./NextflowRelease" import { NextflowRelease } from "./nextflow-release"
function tag_filter(version: string): (r: NextflowRelease) => Boolean { function tag_filter(version: string): (r: NextflowRelease) => Boolean {
// Setup tag-based filtering // Setup tag-based filtering

View file

@ -9,8 +9,8 @@ import {
get_nextflow_release, get_nextflow_release,
install_nextflow install_nextflow
} from "./functions" } from "./functions"
import { NextflowRelease } from "./NextflowRelease" import { NextflowRelease } from "./nextflow-release"
import { pull_releases, setup_octokit } from "./OctokitWrapper" import { pull_releases, setup_octokit } from "./octokit-wrapper"
async function run(): Promise<void> { async function run(): Promise<void> {
// CAPSULE_LOG leads to a bunch of boilerplate being output to the logs: turn // CAPSULE_LOG leads to a bunch of boilerplate being output to the logs: turn

View file

@ -2,7 +2,7 @@ import * as core from "@actions/core"
import * as github from "@actions/github" import * as github from "@actions/github"
import { GitHub } from "@actions/github/lib/utils" import { GitHub } from "@actions/github/lib/utils"
import { nextflow_release, NextflowRelease } from "./NextflowRelease" import { nextflow_release, NextflowRelease } from "./nextflow-release"
const NEXTFLOW_REPO = { owner: "nextflow-io", repo: "nextflow" } const NEXTFLOW_REPO = { owner: "nextflow-io", repo: "nextflow" }

View file

@ -1,7 +1,7 @@
import test from "ava" // eslint-disable-line import/no-unresolved import test from "ava" // eslint-disable-line import/no-unresolved
import * as functions from "../src/functions" import * as functions from "../src/functions"
import { NextflowRelease } from "../src/NextflowRelease" import { NextflowRelease } from "../src/nextflow-release"
// The Nextflow releases we are going to use for testing follow a regular // The Nextflow releases we are going to use for testing follow a regular
// pattern: create a mock function to bootstrap some test data without repeating // pattern: create a mock function to bootstrap some test data without repeating
@ -109,5 +109,3 @@ test(
"v23.04.3", "v23.04.3",
edge_is_newer edge_is_newer
) )
test.todo("install_nextflow")

View file

@ -2,8 +2,8 @@ import * as github from "@actions/github"
import { GitHub } from "@actions/github/lib/utils" import { GitHub } from "@actions/github/lib/utils"
import anyTest, { TestFn } from "ava" // eslint-disable-line import/no-unresolved import anyTest, { TestFn } from "ava" // eslint-disable-line import/no-unresolved
import { nextflow_bin_url } from "../src/NextflowRelease" import { nextflow_bin_url } from "../src/nextflow-release"
import { all_nf_release_data } from "../src/OctokitWrapper" import { all_nf_release_data } from "../src/octokit-wrapper"
import { getToken } from "./utils" import { getToken } from "./utils"
const test = anyTest as TestFn<{ const test = anyTest as TestFn<{