diff --git a/lib/tsserver.js b/lib/tsserver.js index 103918e21dcb2..3fc67a2b3ea50 100644 --- a/lib/tsserver.js +++ b/lib/tsserver.js @@ -92012,7 +92012,7 @@ var ts; }; Logger.prototype.close = function () { if (this.fd >= 0) { - fs.close(this.fd); + fs.closeSync(this.fd); } }; Logger.prototype.getLogFileName = function () {