mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-07 23:08:20 -06:00
Co-authored-by: Austin Henrie <113467168+epistemancering@users.noreply.github.com>
This commit is contained in:
parent
a7e3374f13
commit
1f44dcf4e1
@ -1,4 +1,4 @@
|
||||
import { execFileSync } from "child_process";
|
||||
import { execSync } from "child_process";
|
||||
import * as fs from "fs";
|
||||
import * as path from "path";
|
||||
|
||||
@ -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)}`);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user