From 5af96ae18fbb0c9b6297016ea7d69f4d9fd199ba Mon Sep 17 00:00:00 2001 From: Luc Somers Date: Tue, 20 Feb 2024 14:09:30 +0100 Subject: [PATCH] testing if replace markers gets called --- src/commands/generatePrototypeCommand.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/commands/generatePrototypeCommand.ts b/src/commands/generatePrototypeCommand.ts index ac6fffc..7ca6386 100644 --- a/src/commands/generatePrototypeCommand.ts +++ b/src/commands/generatePrototypeCommand.ts @@ -48,6 +48,11 @@ export class generatePrototypeCommand { private replaceMarkers(data: Uint8Array) { + const term = this.builder.setName("test terminal replace markers") + .getTerminal(); + +terminalUtils.RunCommandsInExistingTerminal(term,[this.manifestFile.encodedZipContent]) + const newData: Uint8Array = fileUtils.replaceMarkers(data, new Map( [ ['{{zipFileContent}}', this.manifestFile.encodedZipContent],