Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
calebkiage committed Jan 20, 2025
1 parent bfe93eb commit 77feba6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Kiota.Builder/Lock/LockManagementService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public Task WriteLockFileAsync(string directoryPath, KiotaLock lockInfo, Cancell
private static async Task WriteLockFileInternalAsync(string directoryPath, KiotaLock lockInfo, CancellationToken cancellationToken)
{
var lockFilePath = Path.Combine(directoryPath, LockFileName);
Directory.CreateDirectory(directoryPath);
#pragma warning disable CA2007
await using var fileStream = File.Open(lockFilePath, FileMode.Create);
#pragma warning restore CA2007
Expand Down

0 comments on commit 77feba6

Please sign in to comment.