|
@@ -263,6 +263,7 @@ Function Validate-PkgImports($headCommit, $upstreamCommit) {
|
|
# Filter out what we are looking for
|
|
# Filter out what we are looking for
|
|
$imports = @() + $imports -NotMatch "^github.com/docker/docker/pkg/" `
|
|
$imports = @() + $imports -NotMatch "^github.com/docker/docker/pkg/" `
|
|
-NotMatch "^github.com/docker/docker/vendor" `
|
|
-NotMatch "^github.com/docker/docker/vendor" `
|
|
|
|
+ -NotMatch "^github.com/docker/docker/internal" `
|
|
-Match "^github.com/docker/docker" `
|
|
-Match "^github.com/docker/docker" `
|
|
-Replace "`n", ""
|
|
-Replace "`n", ""
|
|
$imports | ForEach-Object{ $badFiles+="$file imports $_`n" }
|
|
$imports | ForEach-Object{ $badFiles+="$file imports $_`n" }
|