Skip to content

Commit 0c4c44e

Browse files
auth: Ensure logout includes auth state path guidance
Co-authored-by: SCE <sce@crocoder.dev>
1 parent 7c9ad29 commit 0c4c44e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/src/services/auth_command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub fn run_logout(format: AuthFormat) -> Result<String> {
101101
let guidance = auth_state_path_guidance(
102102
"verify file permissions for the auth state directory and rerun 'sce auth logout'",
103103
);
104-
anyhow!(with_try_guidance(error.to_string(), &guidance,))
104+
anyhow!(format!("{} Try: {}", error, guidance))
105105
})?;
106106
render_logout_result(deleted, format)
107107
}

0 commit comments

Comments
 (0)