1
0
forked from MTSR/mapserver

fix build

This commit is contained in:
Thomas Rudin 2019-06-16 12:28:40 +02:00
parent 44022e4160
commit 7206d38899
2 changed files with 1 additions and 17 deletions

View File

@ -1,17 +0,0 @@
package media
import (
"fmt"
"testing"
)
func TestNew(t *testing.T) {
repo := make(map[string][]byte)
ScanDir(repo, "../", []string{"mapserver.tiles", ".git"})
for key := range repo {
fmt.Println(key)
}
}

View File

@ -36,6 +36,7 @@ func scan_recursive(dir_path string, ignore []string) ([]string, []string) {
// If no error
if err != nil {
log.Fatal(err)
return nil
}
// File & Folder Mode