Skip to content

Commit

Permalink
partially revert changes made with 6d2596e
Browse files Browse the repository at this point in the history
  • Loading branch information
therecipe committed Sep 4, 2020
1 parent 6d2596e commit c0c124a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/binding/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func LoadModule(m string) *Module {
err = xml.Unmarshal([]byte(utils.LoadOptional(path)), &module)
if err != nil {
utils.Log.WithFields(logFields).Debug("falling back to bundled *.index files")
err = xml.Unmarshal([]byte(utils.LoadOptional(filepath.Join(strings.TrimSpace(utils.GoListOptional("{{.Dir}}", "github.com/therecipe/qt/internal/binding/files/docs/"+utils.QT_API(utils.QT_VERSION_MAJOR()+".0"), "-find", "get doc dir")), fmt.Sprintf("qt%v.index", strings.ToLower(m))))), &module)
err = xml.Unmarshal([]byte(utils.LoadOptional(filepath.Join(strings.TrimSpace(utils.GoListOptional("{{.Dir}}", "github.com/therecipe/qt/internal/binding/files/docs/"+utils.QT_API(utils.QT_VERSION()), "-find", "get doc dir")), fmt.Sprintf("qt%v.index", strings.ToLower(m))))), &module)
}
}
}
Expand Down

0 comments on commit c0c124a

Please sign in to comment.