From e426b9b8a9c570ce0c921b827831e0eca1faf5a3 Mon Sep 17 00:00:00 2001 From: Dominik Kohler Date: Tue, 27 Feb 2024 14:36:18 +0100 Subject: [PATCH] Create files sync --- src/dockerRun.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dockerRun.ts b/src/dockerRun.ts index c9a0ba1..c695e5e 100644 --- a/src/dockerRun.ts +++ b/src/dockerRun.ts @@ -18,7 +18,7 @@ const command = fileMap.pushRunnerPath( ) export async function runContainer(): Promise { - fileMap.items.forEach((items: Mapping) => fs.appendFile(items.runner.path, '', ()=>{},)) + fileMap.items.forEach((items: Mapping) => fs.appendFileSync(items.runner.path, '')) fs.writeFileSync(command!.runner.path, input.get('run'), {mode: 0o755}) core.info(` Wrote instruction file to "${command!.runner.path}"