Skip to content

Commit

Permalink
Use correct file path (#31668)
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu authored Nov 25, 2024
1 parent 1f28221 commit 836e5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/scripts/Create-APIView.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function Invoke-SwaggerAPIViewParser {

$apiViewTokensFilePath = [System.IO.Path]::Combine($TokenDirectory, "$ResourceProvider.$Type.json")
LogInfo " Moving generated APIView Token file to '$apiViewTokensFilePath'"
Move-Item -Path $generatedAPIViewTokenFile.FullName -Destination $apiViewTokensFilePath -Force > $null
Move-Item -Path $generatedAPIViewTokenFile -Destination $apiViewTokensFilePath -Force > $null
}
} catch {
LogError " Failed to generate '$Type' APIView Tokens using '$ReadMeFilePath' for '$ResourceProvider'"
Expand Down

0 comments on commit 836e5f8

Please sign in to comment.