Fixed arguments of ParsePackage() in server to coincide with changes
made to parser. This was missed due to the previously mentioned disparity in import paths not causing install to break as would be expected.
This commit is contained in:
parent
02f6b2afc6
commit
827bbf1143
@ -47,7 +47,7 @@ func generateHandler(w http.ResponseWriter, r *http.Request) error {
|
|||||||
}
|
}
|
||||||
defer os.RemoveAll(dir)
|
defer os.RemoveAll(dir)
|
||||||
|
|
||||||
pkg, err := parser.ParsePackage(dir, "")
|
pkg, err := parser.ParsePackage(dir, "", "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("parse package: %v", err)
|
return fmt.Errorf("parse package: %v", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user