diff options
Diffstat (limited to 'update-license.go')
-rw-r--r-- | update-license.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update-license.go b/update-license.go index e55732a53..ea7ab67c5 100644 --- a/update-license.go +++ b/update-license.go @@ -26,7 +26,7 @@ import ( "io/ioutil" "os" "os/exec" - "path" + "path/filepath" "regexp" "runtime" "sort" @@ -144,7 +144,7 @@ func getFiles(out chan<- string) { return } } - ext := path.Ext(line) + ext := filepath.Ext(line) for _, wantExt := range extensions { if ext == wantExt { goto send |