diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-05-28 23:40:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 23:40:40 -0400 |
commit | a8923534ed02e9e4ba3bb277db6e61a208c64125 (patch) | |
tree | a745ab2d0d57df6c21486181a21e9cbeeadd9532 /cli/tools/info.rs | |
parent | 14a74600de6f1c206ffe4750f6cb6da59657db8e (diff) |
chore: set lockfile as having no content changes after write (#24023)
Slight perf regression when updating deno_lockfile in
https://github.com/denoland/deno/pull/23979
Diffstat (limited to 'cli/tools/info.rs')
-rw-r--r-- | cli/tools/info.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/info.rs b/cli/tools/info.rs index b023970f8..17e854519 100644 --- a/cli/tools/info.rs +++ b/cli/tools/info.rs @@ -71,7 +71,7 @@ pub async fn info(flags: Flags, info_flags: InfoFlags) -> Result<(), AnyError> { // write out the lockfile if there is one if let Some(lockfile) = &maybe_lockfile { graph_exit_lock_errors(&graph); - write_lockfile_if_has_changes(&lockfile.lock())?; + write_lockfile_if_has_changes(&mut lockfile.lock())?; } if info_flags.json { |