Commit b8823a8b authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #3623 from kaneshin/patch-1

build: Fix tiny typo
parents c46c41ea 658bcbcb
...@@ -309,7 +309,7 @@ func spellcheck(packages []string) { ...@@ -309,7 +309,7 @@ func spellcheck(packages []string) {
// Ensure the spellchecker is available // Ensure the spellchecker is available
build.MustRun(goTool("get", "github.com/client9/misspell/cmd/misspell")) build.MustRun(goTool("get", "github.com/client9/misspell/cmd/misspell"))
// Windows chokes on long argument lists, check packages individualy // Windows chokes on long argument lists, check packages individually
for _, pkg := range packages { for _, pkg := range packages {
// The spell checker doesn't work on packages, gather all .go files for it // The spell checker doesn't work on packages, gather all .go files for it
out, err := goTool("list", "-f", "{{.Dir}}{{range .GoFiles}}\n{{.}}{{end}}{{range .CgoFiles}}\n{{.}}{{end}}{{range .TestGoFiles}}\n{{.}}{{end}}", pkg).CombinedOutput() out, err := goTool("list", "-f", "{{.Dir}}{{range .GoFiles}}\n{{.}}{{end}}{{range .CgoFiles}}\n{{.}}{{end}}{{range .TestGoFiles}}\n{{.}}{{end}}", pkg).CombinedOutput()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment