From e81b4e333a0b2a50db2ac1e325c530a5ab3dfe66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leif=20=C3=98deg=C3=A5rd=20Uhlen?= <126719+leifode@users.noreply.github.com> Date: Tue, 5 May 2026 11:49:04 +0200 Subject: [PATCH] fixing more issues cjs->esm --- src/handleOptions.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/handleOptions.js b/src/handleOptions.js index 6d93484..0fb2e34 100644 --- a/src/handleOptions.js +++ b/src/handleOptions.js @@ -6,7 +6,7 @@ import inputs from './inputs.json' with { type: 'json' };; * Handle Branches Option * @returns {{}|{branch: string}} */ -exports.handleBranchesOption = () => { +export const handleBranchesOption = () => { const branchesOption = {}; const branches = core.getInput(inputs.branches); const branch = core.getInput(inputs.branch); @@ -45,7 +45,7 @@ exports.handleBranchesOption = () => { * Handle DryRun Option * @returns {{}|{dryRun: boolean}} */ -exports.handleDryRunOption = () => { +export const handleDryRunOption = () => { const dryRun = core.getInput(inputs.dry_run); core.debug(`dryRun input: ${dryRun}`); @@ -65,7 +65,7 @@ exports.handleDryRunOption = () => { * Handle Ci Option * @returns {{}|{ci: boolean}} */ -exports.handleCiOption = () => { +export const handleCiOption = () => { const ci = core.getInput(inputs.ci); core.debug(`ci input: ${ci}`); @@ -85,7 +85,7 @@ exports.handleCiOption = () => { * Handle Extends Option * @returns {{}|{extends: Array}|{extends: String}} */ -exports.handleExtends = () => { +export const handleExtends = () => { const extend = core.getInput(inputs.extends); core.debug(`extend input: ${extend}`); @@ -104,7 +104,7 @@ exports.handleExtends = () => { * Handle TagFormat Option * @returns {{}|{tagFormat: String}} */ -exports.handleTagFormat = () => { +export const handleTagFormat = () => { const tagFormat = core.getInput(inputs.tag_format); core.debug(`citagFormat input: ${tagFormat}`); @@ -121,7 +121,7 @@ exports.handleTagFormat = () => { * Handle repository-url Option * @returns {{}|{r: String}} */ -exports.handleRepositoryUrlOption = () => { +export const handleRepositoryUrlOption = () => { const repositoryUrl = core.getInput(inputs.repository_url); core.debug(`repository_url input: ${repositoryUrl}`);