mirror of
https://github.com/denoland/deno.git
synced 2025-08-01 09:32:28 +00: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) {
|
function signal(signo) {
|
||||||
if (build.os === "windows") {
|
if (build.os === "windows") {
|
||||||
throw new Error("not implemented!");
|
throw new Error("Signal API is not implemented for Windows");
|
||||||
}
|
}
|
||||||
return new SignalStream(signo);
|
return new SignalStream(signo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue