From 1ca925b9588b2df877713102e4eea9374f9e833c Mon Sep 17 00:00:00 2001 From: Richard Herman Date: Mon, 18 Mar 2024 11:36:41 +0000 Subject: [PATCH] style: linting, and wording --- action.yml | 2 +- dist/index.js | 2 +- src/artifact-filter.ts | 2 +- src/index.ts | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index 8321515..e56dfa2 100644 --- a/action.yml +++ b/action.yml @@ -8,7 +8,7 @@ inputs: description: GitHub token with read and write access to actions for the repository. required: true default: ${{ github.token }} - deprecationMessage: This isn't needed anymore. + deprecationMessage: Token is no longer required. useGlob: description: Indicates whether the name, or names, should be treated as glob patterns. required: false diff --git a/dist/index.js b/dist/index.js index 0a2c2aa..0478529 100644 --- a/dist/index.js +++ b/dist/index.js @@ -118685,8 +118685,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const core = __importStar(__nccwpck_require__(42186)); const artifact_1 = __nccwpck_require__(79450); +const core = __importStar(__nccwpck_require__(42186)); const artifact_filter_1 = __nccwpck_require__(38025); const utils_1 = __nccwpck_require__(71314); (function () { diff --git a/src/artifact-filter.ts b/src/artifact-filter.ts index 0d9a9b2..c090dfc 100644 --- a/src/artifact-filter.ts +++ b/src/artifact-filter.ts @@ -1,6 +1,6 @@ +import type { Artifact } from "@actions/artifact"; import * as core from "@actions/core"; import { minimatch } from "minimatch"; -import type { Artifact} from '@actions/artifact' import { getInputBoolean, getInputMultilineValues } from "./utils"; /** diff --git a/src/index.ts b/src/index.ts index c854e4a..a0a217d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ +import { DefaultArtifactClient } from "@actions/artifact"; import * as core from "@actions/core"; -import {DefaultArtifactClient} from '@actions/artifact' import { getDefaultFilter } from "./artifact-filter"; import { fail } from "./utils"; @@ -9,7 +9,7 @@ import { fail } from "./utils"; let failureCount = 0; // Get the artifacts associated with this workflow run. - const {artifacts} = await client.listArtifacts(); + const { artifacts } = await client.listArtifacts(); const filter = getDefaultFilter(); // Iterate over the filtered artifacts, and remove them.