diff --git a/src/repo.ts b/src/repo.ts index 85cee40..d074cfe 100644 --- a/src/repo.ts +++ b/src/repo.ts @@ -199,7 +199,7 @@ export async function ensureBuilt() { await cmdShim.ifExists(paths.tsserver, tsserverBin); } } catch { - throw new Error(`Unable to build typescript at rev ${await revParse(`HEAD`)}; please file a bug!`); + throw new ExitError(`Unable to build typescript at rev ${await revParse(`HEAD`)}; please file a bug!`); } }