We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d3621bf + 6e7c95b commit 62abc82Copy full SHA for 62abc82
src/compiler/sys.ts
@@ -106,9 +106,6 @@ var sys: System = (function () {
106
write(s: string): void {
107
WScript.StdOut.Write(s);
108
},
109
- writeErr(s: string): void {
110
- WScript.StdErr.Write(s);
111
- },
112
readFile: readFile,
113
writeFile: writeFile,
114
resolvePath(path: string): string {
@@ -195,10 +192,8 @@ var sys: System = (function () {
195
192
newLine: _os.EOL,
196
193
useCaseSensitiveFileNames: useCaseSensitiveFileNames,
197
194
198
- process.stdout.write(s);
199
200
201
- process.stderr.write(s);
+ // 1 is a standard descriptor for stdout
+ _fs.writeSync(1, s);
202
203
204
0 commit comments