summaryrefslogtreecommitdiff
path: root/cli/flags.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-06-13 01:55:59 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-06-12 16:55:59 -0700
commitbca5cc5041172e22ad1851c8510d6521bf70ec22 (patch)
treea772e0619cb6007c603fd1821b130269b3cfeb75 /cli/flags.rs
parentb3c4307d02d627287cd28486b208b53c3bd378f0 (diff)
Move ModuleSpecifier to //core (#2509)
Diffstat (limited to 'cli/flags.rs')
-rw-r--r--cli/flags.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index 6d4a95f9e..8b95aefae 100644
--- a/cli/flags.rs
+++ b/cli/flags.rs
@@ -502,7 +502,7 @@ pub enum DenoSubcommand {
}
fn get_default_bundle_filename(source_file: &str) -> String {
- use crate::module_specifier::ModuleSpecifier;
+ use deno::ModuleSpecifier;
let url = ModuleSpecifier::resolve_root(source_file).unwrap().to_url();
let path_segments = url.path_segments().unwrap();
let last = path_segments.last().unwrap();