summaryrefslogtreecommitdiff
path: root/cli/ops
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-05-01 20:15:28 +0200
committerGitHub <noreply@github.com>2020-05-01 20:15:28 +0200
commit6661e7e287aa595eccdc8d49940c40953b1f69bc (patch)
tree4e936d8aa3ee3acbc7c012072d160a5793401c93 /cli/ops
parent5d3c49082ffa96fc97af1e7bf637c930dd9cdf66 (diff)
BREAKING: remove window.location and self.location (#5034)
This commit removes "location" global available on "window", "globalThis" and "self".
Diffstat (limited to 'cli/ops')
-rw-r--r--cli/ops/runtime.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/ops/runtime.rs b/cli/ops/runtime.rs
index 0d92b0692..e96a669d0 100644
--- a/cli/ops/runtime.rs
+++ b/cli/ops/runtime.rs
@@ -28,7 +28,6 @@ fn op_start(
"cwd": &env::current_dir().unwrap(),
"debugFlag": gs.flags.log_level.map_or(false, |l| l == log::Level::Debug),
"denoVersion": version::DENO,
- "location": state.main_module.to_string(),
"noColor": !colors::use_color(),
"pid": std::process::id(),
"repl": gs.flags.subcommand == DenoSubcommand::Repl,