aboutsummaryrefslogtreecommitdiffstats
path: root/update-license.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-13 01:05:33 +0800
committerobscuren <geffobscura@gmail.com>2015-05-13 01:05:33 +0800
commit8e24378cc1acb074b56de75bf0baf6feb7927677 (patch)
tree71f866652de6b45da5ad4403b88f5def9a684e36 /update-license.go
parent7d69679935ff8c04aebb60f27074f08c5e84ac95 (diff)
parent8fe01b4bfa28ad5a1fdde7f9837e8f982843389a (diff)
downloaddexon-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.gz
dexon-8e24378cc1acb074b56de75bf0baf6feb7927677.tar.zst
dexon-8e24378cc1acb074b56de75bf0baf6feb7927677.zip
Merge branch 'release/0.9.20'
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..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