mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
fix: not installing extensions in the directory that is being passed (#177303)
Fixes https://github.com/microsoft/vscode-internalbacklog/issues/3595
This commit is contained in:
parent
c9937c46fb
commit
0e1ec3e87d
|
@ -200,10 +200,7 @@ pub struct ExtensionArgs {
|
|||
|
||||
impl ExtensionArgs {
|
||||
pub fn add_code_args(&self, target: &mut Vec<String>) {
|
||||
if let Some(ed) = &self.desktop_code_options.extensions_dir {
|
||||
target.push(ed.to_string());
|
||||
}
|
||||
|
||||
self.desktop_code_options.add_code_args(target);
|
||||
self.subcommand.add_code_args(target);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue