Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(web): build error (#5729)

teo2162093169b0
diff --git a/infra/stacks/web-app/index.ts b/infra/stacks/web-app/index.ts
index ee97c59d47..923235576e 100644
--- a/infra/stacks/web-app/index.ts
+++ b/infra/stacks/web-app/index.ts
@@ -70,7 +70,7 @@ const buildOutputPath = './output/app';
const appArchiveOutputPath = './output/app-archive';
const cacheWasmRetentionDays = 7;
const shellQuote = (value: string): string =>
- "'" + value.replaceAll("'", "'\\''") + "'";
+ "'" + value.split("'").join("'\\''") + "'";
execSync('rm -rf ./output', { stdio: 'inherit' });
execSync(
`mkdir -p ${shellQuote(buildOutputPath)} ${shellQuote(appArchiveOutputPath)}`,