This commit is contained in:
parent
7607571c80
commit
c80d88bc5f
2 changed files with 3 additions and 1 deletions
|
|
@ -33,12 +33,13 @@ if (tsconfigs.length === 0) {
|
|||
}
|
||||
|
||||
let failed = false;
|
||||
const bunExecutable = process.execPath;
|
||||
|
||||
for (const tsconfig of tsconfigs) {
|
||||
const label = relative(process.cwd(), tsconfig);
|
||||
console.log(`\nTypechecking ${label}`);
|
||||
|
||||
const result = Bun.spawnSync(["bunx", "tsc", "-p", tsconfig, "--noEmit", "--incremental", "false", "--pretty", "false"], {
|
||||
const result = Bun.spawnSync([bunExecutable, "x", "tsc", "-p", tsconfig, "--noEmit", "--incremental", "false", "--pretty", "false"], {
|
||||
stdout: "inherit",
|
||||
stderr: "inherit"
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue