diff --git a/actions/example-config-updater/dist/index.js b/actions/example-config-updater/dist/index.js index 5d7b580..8df51d8 100644 --- a/actions/example-config-updater/dist/index.js +++ b/actions/example-config-updater/dist/index.js @@ -68,10 +68,10 @@ function run() { // if the config input is not null or not empty, use it // otherwise, use a default value if (config && config.length > 0) { - const content = JSON.parse(config); + content = JSON.parse(config); } else { - const content = { + content = { max: "cascone", }; } diff --git a/actions/example-config-updater/src/index.ts b/actions/example-config-updater/src/index.ts index f6d28ae..b6861cd 100644 --- a/actions/example-config-updater/src/index.ts +++ b/actions/example-config-updater/src/index.ts @@ -28,10 +28,10 @@ export async function run() { // if the config input is not null or not empty, use it // otherwise, use a default value if (config && config.length > 0) { - const content = JSON.parse(config); + content = JSON.parse(config); } else { - const content = { + content = { max: "cascone", }; }