summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_process/process.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/_process/process.ts')
-rw-r--r--ext/node/polyfills/_process/process.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/_process/process.ts b/ext/node/polyfills/_process/process.ts
index 5abde1cf0..e4b88a11a 100644
--- a/ext/node/polyfills/_process/process.ts
+++ b/ext/node/polyfills/_process/process.ts
@@ -32,7 +32,7 @@ export function arch(): string {
} else if (build.arch == "riscv64gc") {
return "riscv64";
} else {
- throw Error("unreachable");
+ throw new Error("unreachable");
}
}