Skip to content

Commit 1033c1b

Browse files
committed
fix(model/test): dont attempt to resolve store files against a basepath as they are already complete
1 parent ec6b432 commit 1033c1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/model/test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ package model
1919
import (
2020
"fmt"
2121
"os"
22-
"path"
2322
"path/filepath"
2423
"strings"
2524

@@ -77,7 +76,7 @@ var modelTestCmd = &cobra.Command{
7776
summaries := []string{}
7877

7978
for _, file := range fileNames {
80-
format, storeData, err := storetest.ReadFromFile(file, path.Dir(file))
79+
format, storeData, err := storetest.ReadFromFile(file, "")
8180
if err != nil {
8281
return fmt.Errorf("failed to read test file %s: %w", file, err)
8382
}

0 commit comments

Comments
 (0)