diff options
Diffstat (limited to 'cli/js/runtime_main.ts')
-rw-r--r-- | cli/js/runtime_main.ts | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/cli/js/runtime_main.ts b/cli/js/runtime_main.ts index b2ed5d52b..a9787d7cb 100644 --- a/cli/js/runtime_main.ts +++ b/cli/js/runtime_main.ts @@ -24,7 +24,6 @@ import { unstableMethods, unstableProperties } from "./globals_unstable.ts"; import { internalObject, internalSymbol } from "./internals.ts"; import { setSignals } from "./signals.ts"; import { replLoop } from "./repl.ts"; -import { LocationImpl } from "./web/location.ts"; import { setTimeout } from "./web/timers.ts"; import * as runtime from "./runtime.ts"; import { log, immutableDefine } from "./util.ts"; @@ -98,19 +97,7 @@ export function bootstrapMainRuntime(): void { } }); - const { - args, - cwd, - location, - noColor, - pid, - repl, - unstableFlag, - } = runtime.start(); - - const location_ = new LocationImpl(location); - immutableDefine(globalThis, "location", location_); - Object.freeze(globalThis.location); + const { args, cwd, noColor, pid, repl, unstableFlag } = runtime.start(); Object.defineProperties(denoNs, { pid: readOnly(pid), |