Skip to content

Commit 5cd4265

Browse files
committed
Fix merge mistake
1 parent 990f12b commit 5cd4265

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lockfile.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ impl LockFile {
3131
}
3232
}
3333

34-
pub async fn write(&self, filename: &Path) -> anyhow::Result<()> {
34+
pub async fn write(&mut self, filename: &Path) -> anyhow::Result<()> {
35+
self.version = VERSION;
3536
let content = toml::to_string(self)?;
3637
write(filename, content).await?;
3738

0 commit comments

Comments
 (0)