1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

chore: add better error message for signal API on Windows (#11935)

This commit is contained in:
Bartek Iwańczuk 2021-09-07 13:17:44 +02:00 committed by GitHub
parent 3925435bf9
commit a5bcf7033e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@
function signal(signo) {
if (build.os === "windows") {
throw new Error("not implemented!");
throw new Error("Signal API is not implemented for Windows");
}
return new SignalStream(signo);
}