diff options
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r-- | cli/args/mod.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs index 50132b1fb..9be115d5c 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -1217,11 +1217,6 @@ impl CliOptions { NPM_PROCESS_STATE.is_some() } - /// Overrides the import map specifier to use. - pub fn set_import_map_specifier(&mut self, path: Option<ModuleSpecifier>) { - self.overrides.import_map_specifier = Some(path); - } - pub fn has_node_modules_dir(&self) -> bool { self.maybe_node_modules_folder.is_some() } @@ -1230,21 +1225,6 @@ impl CliOptions { self.maybe_node_modules_folder.as_ref() } - pub fn with_node_modules_dir_path(&self, path: PathBuf) -> Self { - Self { - flags: self.flags.clone(), - initial_cwd: self.initial_cwd.clone(), - maybe_node_modules_folder: Some(path), - npmrc: self.npmrc.clone(), - maybe_lockfile: self.maybe_lockfile.clone(), - start_dir: self.start_dir.clone(), - overrides: self.overrides.clone(), - disable_deprecated_api_warning: self.disable_deprecated_api_warning, - verbose_deprecated_api_warning: self.verbose_deprecated_api_warning, - deno_dir_provider: self.deno_dir_provider.clone(), - } - } - pub fn node_modules_dir( &self, ) -> Result<Option<NodeModulesDirMode>, AnyError> { |