Compare commits
No commits in common. "13ab5b1902aac78f688943344f47a627ef4efc29" and "97de2fd06cf08df90d560b2d243d05b1a85d01c1" have entirely different histories.
13ab5b1902
...
97de2fd06c
2 changed files with 1 additions and 3 deletions
2
tree.go
2
tree.go
|
@ -295,7 +295,7 @@ func applyApp(app AppCallback, dir string, config Config) error {
|
|||
}
|
||||
}
|
||||
|
||||
content, err = app(path.Dir(fullPath), content, info)
|
||||
content, err = app(dir, content, info)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -22,7 +22,6 @@ func prepare(t *testing.T) Config {
|
|||
"__a",
|
||||
make(map[string]func() string),
|
||||
[]string{"exclude_[0-9]+.bin"},
|
||||
map[string]AppCallback{},
|
||||
)
|
||||
|
||||
err = PopulateTree("./testdata/sunny1", []string{}, config)
|
||||
|
@ -39,7 +38,6 @@ func TestFromNotExistingDirectory(t *testing.T) {
|
|||
"__a",
|
||||
make(map[string]func() string),
|
||||
[]string{},
|
||||
map[string]AppCallback{},
|
||||
)
|
||||
|
||||
_, err := BuildTree("./testing/i_dont_exist", []string{}, config)
|
||||
|
|
Loading…
Reference in a new issue