fix: use canonical standalone session path
This commit is contained in:
@@ -116,7 +116,8 @@ fn standalone_target() -> Result<Box<dyn Target>, ParseError> {
|
||||
)
|
||||
})?
|
||||
.join("client")
|
||||
.join("standalone-sessions");
|
||||
.join("standalone")
|
||||
.join("sessions");
|
||||
Ok(Box::new(StandaloneTarget::new(state_dir)))
|
||||
}
|
||||
|
||||
|
||||
@@ -2132,7 +2132,7 @@ backend = "shared"
|
||||
LaunchMode::StandaloneResume { include_all: false }
|
||||
));
|
||||
let intent = target.standalone_session_list(false).unwrap();
|
||||
assert!(intent.state_dir.ends_with("client/standalone-sessions"));
|
||||
assert!(intent.state_dir.ends_with("client/standalone/sessions"));
|
||||
assert!(!intent.include_all);
|
||||
|
||||
let mode = parse_args_from(["--local", "--resume", "--all"]).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user