diff --git a/build/PowerShellScripts/GenerateReportForCompileTimeError.ps1 b/build/PowerShellScripts/GenerateReportForCompileTimeError.ps1 index 02e010252..ab4c50742 100644 --- a/build/PowerShellScripts/GenerateReportForCompileTimeError.ps1 +++ b/build/PowerShellScripts/GenerateReportForCompileTimeError.ps1 @@ -76,7 +76,7 @@ Get-Content $inputFile | ForEach-Object { if ($processing) { if (-not $processedLine -and $line -ne "") { # Process the first non-empty line - $line = $line -replace "C:\\agent\\_work\\2\\s\\", "~" + $line = $line -replace "D:\\a\\1\\s\\", "~" # Truncate at the first backslash if ($line -match "\\") {