Skip to content

Commit

Permalink
[Chore] format
Browse files Browse the repository at this point in the history
  • Loading branch information
IHEII committed Apr 28, 2024
1 parent 4741371 commit 836f77e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/ocp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ impl OcpModelCacheFile {
let file = OpenOptions::new()
.write(true)
.create(true)
.truncate(true)
.open(&self.path)?;
let writer = io::BufWriter::new(file);
serde_json::to_writer_pretty(writer, model)?;
Expand Down

0 comments on commit 836f77e

Please sign in to comment.