浏览代码

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

hack/make.ps1: Fix go list pattern
Sebastiaan van Stijn 1 年之前
父节点
当前提交
8a81b9d35f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hack/make.ps1

+ 1 - 1
hack/make.ps1

@@ -348,7 +348,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()