From 29edd88a2072f928f94391f1fc7570e29dea8217 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Mon, 5 Feb 2024 13:51:34 +0100 Subject: [PATCH] fix: revert --- src/cli/install-tool/install-tool-base.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/install-tool/install-tool-base.service.ts b/src/cli/install-tool/install-tool-base.service.ts index 5199607e8..4492e5532 100644 --- a/src/cli/install-tool/install-tool-base.service.ts +++ b/src/cli/install-tool/install-tool-base.service.ts @@ -77,7 +77,7 @@ export abstract class InstallToolBaseService { } content += ` "$@"\n`; - await writeFile(tgt, content.replace(/^\s+/gm, ''), { encoding: 'utf8' }); + await writeFile(tgt, content, { encoding: 'utf8' }); await this.pathSvc.setOwner({ file: tgt }); } }