Skip to content

Commit f8498fb

Browse files
committed
set lockfile to be readonly
1 parent db51fe6 commit f8498fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/wkg/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ impl PublishArgs {
267267
// file first. _tmp is held until the publish completes so the file
268268
// isn't deleted out from under us.
269269
let (publish_path, _tmp) = if self.path.is_dir() {
270-
let mut lock_file = LockFile::load(false).await?;
270+
let mut lock_file = LockFile::load(true).await?;
271271
let prev_lock_ref = (lock_file.version, lock_file.packages.clone());
272272
let (build_ref, _, bytes) =
273273
wit::build_wit_dir(&self.path, client.clone(), &mut lock_file).await?;

0 commit comments

Comments
 (0)