Skip to content

Commit

Permalink
🤖 Pick PR #60157 (fix automatic type acquisition) into release-5.6 (#…
Browse files Browse the repository at this point in the history
…60169)

Co-authored-by: Austin Henrie <[email protected]>
  • Loading branch information
typescript-bot and epistemancering authored Oct 8, 2024
1 parent a7e3374 commit 1f44dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/typingsInstaller/nodeTypingsInstaller.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { execFileSync } from "child_process";
import { execSync } from "child_process";
import * as fs from "fs";
import * as path from "path";

Expand Down Expand Up @@ -172,7 +172,7 @@ export class NodeTypingsInstaller extends ts.server.typingsInstaller.TypingsInst
this.log.writeLine(`Exec: ${command}`);
}
try {
const stdout = execFileSync(command, { ...options, encoding: "utf-8" });
const stdout = execSync(command, { ...options, encoding: "utf-8" });
if (this.log.isEnabled()) {
this.log.writeLine(` Succeeded. stdout:${indent(sys.newLine, stdout)}`);
}
Expand Down

0 comments on commit 1f44dcf

Please sign in to comment.