From 709609ec6fbef4e93a8df00384cd6ca7a727b21b Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Fri, 17 Jan 2025 19:43:12 +0900 Subject: [PATCH] fix(list-module-callers): trim spaces (#2247) --- js/src/list-module-callers/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/src/list-module-callers/index.ts b/js/src/list-module-callers/index.ts index b2c7d91f4..191bb1476 100644 --- a/js/src/list-module-callers/index.ts +++ b/js/src/list-module-callers/index.ts @@ -8,9 +8,11 @@ import { buildModuleToCallers, resolveRelativeCallTree } from "./lib"; export const main = async () => { const configFiles = fs .readFileSync(core.getInput("config_files"), "utf8") + .trim() .split("\n"); const moduleFiles = fs .readFileSync(core.getInput("module_files"), "utf8") + .trim() .split("\n"); // directory where uses modules => used modules