Skip to content

Commit

Permalink
update idempotency script
Browse files Browse the repository at this point in the history
  • Loading branch information
calebkiage committed Jan 20, 2025
1 parent 77feba6 commit 60cc860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions it/compare-generation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ if ($firstGenerationProcess.ExitCode -ne 0 -or $secondGenerationProcess.ExitCode
}

# Remove variable output files
Remove-Item (Join-Path -Path $tmpFolder1 -ChildPath "kiota-lock.json")
Remove-Item (Join-Path -Path $tmpFolder1 -ChildPath "*/kiota-lock.json")
if (Test-Path (Join-Path -Path $tmpFolder1 -ChildPath ".kiota.log")) {
Remove-Item -Force (Join-Path -Path $tmpFolder1 -ChildPath ".kiota.log")
}
Remove-Item (Join-Path -Path $tmpFolder2 -ChildPath "kiota-lock.json")
Remove-Item (Join-Path -Path $tmpFolder2 -ChildPath "*/kiota-lock.json")
if (Test-Path (Join-Path -Path $tmpFolder2 -ChildPath ".kiota.log")) {
Remove-Item -Force (Join-Path -Path $tmpFolder2 -ChildPath ".kiota.log")
}
Expand Down

0 comments on commit 60cc860

Please sign in to comment.