Skip to content

Commit

Permalink
Fix stream read for cargo fallback (#994)
Browse files Browse the repository at this point in the history
  • Loading branch information
FernandoRojo authored Jan 31, 2024
1 parent 45431f1 commit 715078c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ private IComponentStream FindCorrespondingCargoLock(IComponentStream cargoToml,
}
else
{
using var fileStream = new FileStream(cargoLockStream.Location, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
var fileStream = new FileStream(cargoLockStream.Location, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
return new ComponentStream()
{
Location = cargoLockStream.Location,
Expand Down

0 comments on commit 715078c

Please sign in to comment.