From 47bf3df9c7721cf3f1a4ee59f449efaeb160fcb5 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Mon, 18 Aug 2025 13:51:36 +0700 Subject: [PATCH] test: fix lint Signed-off-by: Alfi Maulana --- dist/action.mjs | 6 +++--- src/context.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/action.mjs b/dist/action.mjs index e3d167c..952274e 100644 --- a/dist/action.mjs +++ b/dist/action.mjs @@ -162,7 +162,7 @@ function getContext() { } input = getInput("options"); if (input) { - options.push(...parse(input).map((opt) => opt.toString())); + options.push(...parse(input).map((opt) => opt)); } return { sourceDir, @@ -170,11 +170,11 @@ function getContext() { configure: { generator: getInput("generator"), options, - args: parse(getInput("args")).map((arg) => arg.toString()), + args: parse(getInput("args")).map((arg) => arg), }, build: { enabled: getInput("run-build") == "true", - args: parse(getInput("build-args")).map((arg) => arg.toString()), + args: parse(getInput("build-args")).map((arg) => arg), }, }; } diff --git a/src/context.ts b/src/context.ts index 8d563ec..bfa6751 100644 --- a/src/context.ts +++ b/src/context.ts @@ -40,7 +40,7 @@ export function getContext(): Context { input = getInput("options"); if (input) { - options.push(...parse(input).map((opt) => opt.toString())); + options.push(...parse(input).map((opt) => opt)); } return { @@ -49,11 +49,11 @@ export function getContext(): Context { configure: { generator: getInput("generator"), options, - args: parse(getInput("args")).map((arg) => arg.toString()), + args: parse(getInput("args")).map((arg) => arg), }, build: { enabled: getInput("run-build") == "true", - args: parse(getInput("build-args")).map((arg) => arg.toString()), + args: parse(getInput("build-args")).map((arg) => arg), }, }; }