Skip to content

Commit

Permalink
refactor: rename handle repository url option function
Browse files Browse the repository at this point in the history
  • Loading branch information
mym0404 committed Mar 19, 2024
1 parent a4cbd6c commit f7e54f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/handleOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);

Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { handleRepositoryOption } from './handleOptions';
import { handleRepositoryUrlOption } from './handleOptions';

const core = require('@actions/core');
const {
Expand Down Expand Up @@ -35,7 +35,7 @@ const release = async () => {
...handleCiOption(),
...handleExtends(),
...handleTagFormat(),
...handleRepositoryOption()
...handleRepositoryUrlOption()
});

await cleanupNpmrc();
Expand Down

0 comments on commit f7e54f1

Please sign in to comment.