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:
Daved 2015-04-06 21:52:29 -07:00
parent 02f6b2afc6
commit 827bbf1143

View File

@ -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)
} }