fix build
This commit is contained in:
parent
44022e4160
commit
7206d38899
@ -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)
|
|
||||||
}
|
|
||||||
}
|
|
@ -36,6 +36,7 @@ func scan_recursive(dir_path string, ignore []string) ([]string, []string) {
|
|||||||
// If no error
|
// If no error
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// File & Folder Mode
|
// File & Folder Mode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user