5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-07 10:46:56 +00:00

refactor: rename handle repository url option function

This commit is contained in:
mym0404 2024-03-19 17:33:17 +09:00
parent a4cbd6ce38
commit f7e54f1047
2 changed files with 3 additions and 3 deletions

View file

@ -121,7 +121,7 @@ exports.handleTagFormat = () => {
* Handle repository-url Option * Handle repository-url Option
* @returns {{}|{r: String}} * @returns {{}|{r: String}}
*/ */
exports.handleRepositoryOption = () => { exports.handleRepositoryUrlOption = () => {
const repositoryUrl = core.getInput(inputs.repository_url); const repositoryUrl = core.getInput(inputs.repository_url);
core.debug(`repository_url input: ${repositoryUrl}`); core.debug(`repository_url input: ${repositoryUrl}`);

View file

@ -1,4 +1,4 @@
import { handleRepositoryOption } from './handleOptions'; import { handleRepositoryUrlOption } from './handleOptions';
const core = require('@actions/core'); const core = require('@actions/core');
const { const {
@ -35,7 +35,7 @@ const release = async () => {
...handleCiOption(), ...handleCiOption(),
...handleExtends(), ...handleExtends(),
...handleTagFormat(), ...handleTagFormat(),
...handleRepositoryOption() ...handleRepositoryUrlOption()
}); });
await cleanupNpmrc(); await cleanupNpmrc();