From f7e54f104770a7effe521e16cd4f0f7aa29bb01f Mon Sep 17 00:00:00 2001 From: mym0404 Date: Tue, 19 Mar 2024 17:33:17 +0900 Subject: [PATCH] refactor: rename handle repository url option function --- src/handleOptions.js | 2 +- src/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/handleOptions.js b/src/handleOptions.js index ed1a39a..829667f 100644 --- a/src/handleOptions.js +++ b/src/handleOptions.js @@ -121,7 +121,7 @@ exports.handleTagFormat = () => { * Handle repository-url Option * @returns {{}|{r: String}} */ -exports.handleRepositoryOption = () => { +exports.handleRepositoryUrlOption = () => { const repositoryUrl = core.getInput(inputs.repository_url); core.debug(`repository_url input: ${repositoryUrl}`); diff --git a/src/index.js b/src/index.js index a4d2862..095a5f8 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -import { handleRepositoryOption } from './handleOptions'; +import { handleRepositoryUrlOption } from './handleOptions'; const core = require('@actions/core'); const { @@ -35,7 +35,7 @@ const release = async () => { ...handleCiOption(), ...handleExtends(), ...handleTagFormat(), - ...handleRepositoryOption() + ...handleRepositoryUrlOption() }); await cleanupNpmrc();