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 <pawel.gronowski@docker.com>
This commit is contained in:
parent
2df4755725
commit
ecb217cf69
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue