aboutsummaryrefslogtreecommitdiffstats
path: root/update-license.go
diff options
context:
space:
mode:
Diffstat (limited to 'update-license.go')
-rw-r--r--update-license.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/update-license.go b/update-license.go
index e55732a53..3ab81f98d 100644
--- a/update-license.go
+++ b/update-license.go
@@ -26,13 +26,13 @@ import (
"io/ioutil"
"os"
"os/exec"
- "path"
"regexp"
"runtime"
"sort"
"strings"
"sync"
"text/template"
+ "path/filepath"
)
var (
@@ -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