Remove unwanted debugging prints

This commit is contained in:
2020-03-21 23:14:15 +00:00
parent 46925c09d1
commit 83aa1c4768

View File

@@ -3,7 +3,6 @@ package assetstore
import ( import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"log"
"os" "os"
"path/filepath" "path/filepath"
"strings" "strings"
@@ -92,10 +91,7 @@ func (a *AssetStore) lookup(name, ext string, dirs ...string) (string, error) {
for _, dir := range dirs { for _, dir := range dirs {
dir = canonical(dir) dir = canonical(dir)
log.Printf("Looking in canonical dir %s", dir)
if base, ok := a.entries[dir]; ok { if base, ok := a.entries[dir]; ok {
log.Printf(" base: %#+v", base)
log.Printf(" filename: %v", filename)
if file, ok := base[filename]; ok { if file, ok := base[filename]; ok {
actualDir := a.entries[RootDir][dir] actualDir := a.entries[RootDir][dir]
return filepath.Join(a.RootDir, actualDir, file), nil return filepath.Join(a.RootDir, actualDir, file), nil