summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/main.rs b/cli/main.rs
index e42c6325e..4eaaeb755 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -4,7 +4,6 @@ mod args;
mod auth_tokens;
mod cache;
mod checksum;
-mod deno_dir;
mod deno_std;
mod diff;
mod display;
@@ -706,7 +705,7 @@ To grant permissions, set them before the script argument. For example:
// Run a background task that checks for available upgrades. If an earlier
// run of this background task found a new version of Deno.
- tools::upgrade::check_for_upgrades(ps.dir.root.clone());
+ tools::upgrade::check_for_upgrades(ps.dir.upgrade_check_file_path());
let main_module = if NpmPackageReference::from_str(&run_flags.script).is_ok()
{