diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-03 17:00:57 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-03 17:00:57 +1000 |
commit | 5f08d634f73fab21c17cc02f3f3bf8e8b531eee8 (patch) | |
tree | e105697d4ecb23cad491a04af878bc44edfa66a1 /cli/args/mod.rs | |
parent | 2533d68cabb5a38be891a9807c452ca802401d46 (diff) |
BREAKING: remove `deno vendor` (#25343)
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> { |