Skip to content

Commit

Permalink
Stat with both / and \
Browse files Browse the repository at this point in the history
  • Loading branch information
AriehSchneier committed Nov 19, 2024
1 parent eb1d5bb commit 7cfae8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/parse/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,10 @@ func (p *Parser) collectSpecs(
if err != nil {
fmt.Println("reader.ReadHashBranch failed: ", err)
info, iErr := reader.Stat("tests/apps_namespaces.sysl")
fmt.Println("tests stat: ", info, " ", iErr)
fmt.Println("tests stat tests/apps_namespaces.sysl: ", info, " ", iErr)
f := "tests" + string(os.PathSeparator) + "apps_namespaces.sysl"
info, iErr = reader.Stat(f)
fmt.Println("tests stat ", f, ": ", info, " ", iErr)
return syslutil.Exitf(ImportError, fmt.Sprintf(
"error reading %#v: \n%v\n", source.filename, err,
))
Expand Down

0 comments on commit 7cfae8d

Please sign in to comment.