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:
parent
3925435bf9
commit
a5bcf7033e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue