diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-10-20 13:30:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 14:30:59 +0200 |
commit | 070d99645f4849cfc4479382d756bd40379594d0 (patch) | |
tree | a575e73c8e8adf11fe424833035fe205de081a2c /cli/installer.rs | |
parent | aa0e64b5794e4515d5e1911107ba54ce7e0dcc3c (diff) |
chore: Rename --importmap to --import-map (#7032)
--importmap still works as an alias to --import-map
but is not visible in CLI help output.
Diffstat (limited to 'cli/installer.rs')
-rw-r--r-- | cli/installer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/installer.rs b/cli/installer.rs index 120facaf1..969572e1b 100644 --- a/cli/installer.rs +++ b/cli/installer.rs @@ -242,7 +242,7 @@ pub fn install( if let Some(import_map_path) = flags.import_map_path { let mut copy_path = file_path.clone(); copy_path.set_extension("import_map.json"); - executable_args.push("--importmap".to_string()); + executable_args.push("--import-map".to_string()); executable_args.push(copy_path.to_str().unwrap().to_string()); extra_files.push((copy_path, fs::read_to_string(import_map_path)?)); } |