From ebae5fab469046da6f536b138f36fa83d735900b Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Tue, 18 May 2021 23:34:43 +0200 Subject: [PATCH] fmt --- main.js | 2 +- src/install.js | 2 +- src/version.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main.js b/main.js index 9b5e350..9242d7d 100644 --- a/main.js +++ b/main.js @@ -6,7 +6,7 @@ const { install } = require("./src/install.js"); /** * @param {string} message - * @returns {never} + * @returns {never} */ function exit(message) { core.setFailed(message); diff --git a/src/install.js b/src/install.js index f88e8c9..57b71f5 100644 --- a/src/install.js +++ b/src/install.js @@ -3,7 +3,7 @@ const core = require("@actions/core"); const tc = require("@actions/tool-cache"); /** - * @param {import("./version").Version} version + * @param {import("./version").Version} version */ async function install(version) { const cachedPath = tc.find( diff --git a/src/version.js b/src/version.js index f1f485a..8322b9e 100644 --- a/src/version.js +++ b/src/version.js @@ -3,13 +3,13 @@ const fetch = require("node-fetch"); const GIT_HASH_RE = /^[0-9a-fA-F]{40}$/; -/** +/** * @typedef VersionRange * @property {string} range * @property {boolean} isCanary */ -/** +/** * @typedef Version * @property {string} version * @property {boolean} isCanary @@ -17,7 +17,7 @@ const GIT_HASH_RE = /^[0-9a-fA-F]{40}$/; /** * Parses the version from the user into a structure. - * + * * @param {string | undefined} version * @returns {VersionRange | null} */