Skip to content

Commit

Permalink
Update DevOps.ServiceConnections.ps1
Browse files Browse the repository at this point in the history
Fixed my own screw up; used a dot instead of a comma causing the replace method to go haywire.
  • Loading branch information
wouter-van-den-meulenhof authored Jan 15, 2024
1 parent 7ddf11d commit b57f8df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function Export-AzDevOpsServiceConnections {
Write-Output $serviceConnection
} else {
Write-Verbose "Exporting service connection $($serviceConnection.name) as file $($serviceConnection.name).ado.sc.json"
$serviceConnection | ConvertTo-Json -Depth 100 | Out-File "$OutputPath/$($serviceConnection.name.replace('/'.'')).ado.sc.json"
$serviceConnection | ConvertTo-Json -Depth 100 | Out-File "$OutputPath/$($serviceConnection.name.replace('/','')).ado.sc.json"
}
}
}
Expand Down

0 comments on commit b57f8df

Please sign in to comment.