diff options
Diffstat (limited to 'ext/node/polyfills/os.ts')
-rw-r--r-- | ext/node/polyfills/os.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/os.ts b/ext/node/polyfills/os.ts index 1cd466ec2..e47e8679e 100644 --- a/ext/node/polyfills/os.ts +++ b/ext/node/polyfills/os.ts @@ -311,7 +311,7 @@ export function type(): string { case "openbsd": return "OpenBSD"; default: - throw Error("unreachable"); + throw new Error("unreachable"); } } |