Skip to content

Commit f746e6c

Browse files
committed
We dont want to fall back to winpty
1 parent 2a61910 commit f746e6c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/win/conpty.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,15 +230,15 @@ HRESULT CreateNamedPipesAndPseudoConsole(const Napi::CallbackInfo& info,
230230
{
231231
// Failed to find CreatePseudoConsole in kernel32. This is likely because
232232
// the user is not running a build of Windows that supports that API.
233-
// We should fall back to winpty in this case.
233+
//
234234
return HRESULT_FROM_WIN32(GetLastError());
235235
}
236236
} else {
237237
throw errorWithCode(info, "Failed to load conpty.dll");
238238
}
239239

240240
// Failed to find kernel32. This is realy unlikely - honestly no idea how
241-
// this is even possible to hit. But if it does happen, fall back to winpty.
241+
// this is even possible to hit. We are no longer falling back to winpty.
242242
return HRESULT_FROM_WIN32(GetLastError());
243243
}
244244

0 commit comments

Comments
 (0)