Skip to content

Commit ffefc44

Browse files
Remove unsupported timeout from shell command
Bun shell does not support .timeout() on template literals. Rely on the 30 minute job-level timeout in the workflow instead.
1 parent 1704ec8 commit ffefc44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/build-grammars.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ async function buildGrammar(
7171
await $`tree-sitter generate`.cwd(buildPath).quiet();
7272
}
7373

74-
// Build wasm (5 minute timeout per grammar)
74+
// Build wasm
7575
await mkdir(join(EXTENSIONS_DIR, lang), { recursive: true });
76-
await $`tree-sitter build --wasm -o ${wasmOutput} ${buildPath}`.timeout(300_000);
76+
await $`tree-sitter build --wasm -o ${wasmOutput} ${buildPath}`;
7777

7878
if (existsSync(wasmOutput)) {
7979
const stat = Bun.file(wasmOutput);

0 commit comments

Comments
 (0)