This commit is contained in:
Darien Raymond committed 2017-04-28 14:48:23 +02:00
1 parent 7f1e9c85c9
commit 693702350d
6 files changed
+16 -25

No files matched your search

+4 -5
View File
@@ -11,6 +11,8 @@ import (
"path/filepath"
"runtime"
"strings"
"v2ray.com/core/common"
)
var protocMap = map[string]string{
@@ -64,7 +66,7 @@ func main() {
}
}
err := filepath.Walk(reporoot, func(path string, info os.FileInfo, err error) error {
common.Must(filepath.Walk(reporoot, func(path string, info os.FileInfo, err error) error {
if err != nil {
fmt.Println(err)
return err
@@ -90,8 +92,5 @@ func main() {
}
return nil
})
if err != nil {
panic(err)
}
}))
}