summaryrefslogtreecommitdiff
path: root/cli/modules.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/modules.rs')
-rw-r--r--cli/modules.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/modules.rs b/cli/modules.rs
index 908c31b6d..6de76b8fe 100644
--- a/cli/modules.rs
+++ b/cli/modules.rs
@@ -88,7 +88,8 @@ impl Modules {
}
pub fn print_file_info(&self, deno_dir: &DenoDir, filename: String) {
- let maybe_out = deno_dir.fetch_module_meta_data(&filename, ".");
+ // TODO Note the --reload flag is ignored here.
+ let maybe_out = deno_dir.fetch_module_meta_data(&filename, ".", true);
if maybe_out.is_err() {
println!("{}", maybe_out.unwrap_err());
return;