We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a5ed2b + dc47c78 commit 0a014ebCopy full SHA for 0a014eb
2 files changed
cli/src/cmd/init.rs
@@ -106,7 +106,7 @@ pub async fn init_database(
106
}
107
108
// Check if agent already exists
109
- let db_path = agentfs_dir().join(format!("{}.db", &id));
+ let db_path = agentfs_dir().join(format!("{}.db", id));
110
if db_path.exists() {
111
if force {
112
for entry in std::fs::read_dir(agentfs_dir())? {
cli/src/cmd/ps.rs
@@ -216,7 +216,7 @@ pub fn list_ps<W: Write>(out: &mut W) -> Result<()> {
216
writeln!(
217
out,
218
"{:<COL_SESSION$} {:>COL_PID$} {:^COL_OWNER$} {:<COL_COMMAND$} {:>COL_STARTED$}",
219
- &session.session_id,
+ session.session_id,
220
proc.pid,
221
owner_marker,
222
truncate(&proc.command, COL_COMMAND),
0 commit comments