Skip to content

Commit db968c6

Browse files
committed
hack/make.ps1: Fix go list pattern
The double quotes inside a single quoted string don't need to be escaped. Looks like different Powershell versions are treating this differently and it started failing unexpectedly without any changes on our side. Signed-off-by: Paweł Gronowski <[email protected]> (cherry picked from commit ecb217c) Signed-off-by: Paweł Gronowski <[email protected]>
1 parent 61c51fb commit db968c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/make.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Function Run-UnitTests() {
348348
Function Run-IntegrationTests() {
349349
$escRoot = [Regex]::Escape($root)
350350
$env:DOCKER_INTEGRATION_DAEMON_DEST = $bundlesDir + "\tmp"
351-
$dirs = go list -test -f '{{- if ne .ForTest `"`" -}}{{- .Dir -}}{{- end -}}' .\integration\...
351+
$dirs = go list -test -f '{{- if ne .ForTest "" -}}{{- .Dir -}}{{- end -}}' .\integration\...
352352
ForEach($dir in $dirs) {
353353
# Normalize directory name for using in the test results files.
354354
$normDir = $dir.Trim()

0 commit comments

Comments
 (0)