Skip to content

Commit d6b2be9

Browse files
committed
fix(tooling): relax cli startup metadata render timeout
1 parent 1111639 commit d6b2be9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎scripts/write-cli-startup-metadata.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const rootDir = path.resolve(scriptDir, "..");
2525
const distDir = path.join(rootDir, "dist");
2626
const outputPath = path.join(distDir, "cli-startup-metadata.json");
2727
const extensionsDir = path.join(rootDir, "extensions");
28+
const ROOT_HELP_RENDER_TIMEOUT_MS = 60_000;
2829
const CORE_CHANNEL_ORDER = [
2930
"telegram",
3031
"whatsapp",
@@ -188,7 +189,7 @@ export async function renderBundledRootHelpText(
188189
cwd: _distDirOverride,
189190
encoding: "utf8",
190191
env: renderContext.env,
191-
timeout: 30_000,
192+
timeout: ROOT_HELP_RENDER_TIMEOUT_MS,
192193
});
193194
if (result.error) {
194195
throw result.error;
@@ -228,7 +229,7 @@ function renderSourceRootHelpText(
228229
cwd: rootDir,
229230
encoding: "utf8",
230231
env: renderContext.env,
231-
timeout: 30_000,
232+
timeout: ROOT_HELP_RENDER_TIMEOUT_MS,
232233
},
233234
);
234235
if (result.error) {

0 commit comments

Comments
 (0)