aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/command/client/history.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/command/client/history.rs b/src/command/client/history.rs
index 145fe63a..34b851d9 100644
--- a/src/command/client/history.rs
+++ b/src/command/client/history.rs
@@ -257,8 +257,7 @@ impl Cmd {
}
(Some(session), Some(cwd)) => {
let query = format!(
- "select * from history where cwd = '{}' and session = '{}';",
- cwd, session
+ "select * from history where cwd = '{cwd}' and session = '{session}';",
);
db.query_history(&query).await?
}