mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
cli: store cli in user data dir, separate per quality (#182102)
* cli: store cli in user data dir, separate per quality Fixes #181017 On first run, the `~/.vscode-cli` will be migrated inside the user data dir of the currently running quality. * use create_dir_all instead * clippy fixes
This commit is contained in:
@@ -36,7 +36,7 @@ async fn main() -> Result<(), std::convert::Infallible> {
|
||||
});
|
||||
|
||||
let core = parsed.core();
|
||||
let context_paths = LauncherPaths::new(&core.global_options.cli_data_dir).unwrap();
|
||||
let context_paths = LauncherPaths::migrate(core.global_options.cli_data_dir.clone()).unwrap();
|
||||
let context_args = core.clone();
|
||||
|
||||
// gets a command context without installing the global logger
|
||||
|
||||
Reference in New Issue
Block a user