1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:54:45 -07:00

internal/gopathwalk: fix typo ("nonexistant" → "nonexistent")

Change-Id: Ie127474e5d1e1d71177e0e38d8a4cba2ce415db3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/188497
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Anthony Fok 2019-08-01 02:10:48 -06:00 committed by Ian Lance Taylor
parent 5f95ed5921
commit e9bb7d36c0

View File

@ -67,7 +67,7 @@ func Walk(roots []Root, add func(root Root, dir string), opts Options) {
func walkDir(root Root, add func(Root, string), opts Options) {
if _, err := os.Stat(root.Path); os.IsNotExist(err) {
if opts.Debug {
log.Printf("skipping nonexistant directory: %v", root.Path)
log.Printf("skipping nonexistent directory: %v", root.Path)
}
return
}