Last active
August 29, 2015 14:25
-
-
Save runcom/5b03b09c8b6d401796b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/hack/make/validate-lint b/hack/make/validate-lint | |
index 870b6c0..0683d6a 100644 | |
--- a/hack/make/validate-lint | |
+++ b/hack/make/validate-lint | |
@@ -30,7 +30,7 @@ packages=( | |
) | |
errors=() | |
-for p in "$packages"; do | |
+for p in "${packages[@]}"; do | |
failedLint=$(golint "github.com/docker/docker/$p") | |
if [ "$failedLint" ]; then | |
errors+=( "$failedLint" ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment