Sfoglia il codice sorgente

Merge pull request #47267 from vvoland/ci-fix-makeps1-templatefail-23

[23.0 backport] hack/make.ps1: Fix go list pattern
Sebastiaan van Stijn 1 anno fa
parent
commit
5fbbb68dad
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      hack/make.ps1

+ 1 - 1
hack/make.ps1

@@ -353,7 +353,7 @@ Function Run-UnitTests() {
 Function Run-IntegrationTests() {
     $escRoot = [Regex]::Escape($root)
     $env:DOCKER_INTEGRATION_DAEMON_DEST = $bundlesDir + "\tmp"
-    $dirs = go list -test -f '{{- if ne .ForTest `"`" -}}{{- .Dir -}}{{- end -}}' .\integration\...
+    $dirs = go list -test -f '{{- if ne .ForTest "" -}}{{- .Dir -}}{{- end -}}' .\integration\...
     ForEach($dir in $dirs) {
         # Normalize directory name for using in the test results files.
         $normDir = $dir.Trim()