Skip to content

Commit

Permalink
use long id
Browse files Browse the repository at this point in the history
  • Loading branch information
aawsome committed Sep 29, 2024
1 parent 8c31493 commit 5a11725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/backend/lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl WriteBackend for LockBackend {
let until = until.map_or_else(|| String::new(), |u| format!("{}", u.to_rfc3339()));
let path = path(tpe, id);
let args = self.command.args().iter().map(|c| {
c.replace("%id", &id.to_string())
c.replace("%id", &id.to_hex())
.replace("%type", tpe.dirname())
.replace("%path", &path)
.replace("%until", &until)

Check warning on line 104 in crates/core/src/backend/lock.rs

View check run for this annotation

Codecov / codecov/patch

crates/core/src/backend/lock.rs#L97-L104

Added lines #L97 - L104 were not covered by tests
Expand Down

0 comments on commit 5a11725

Please sign in to comment.