Skip to content

Commit e467ecb

Browse files
committed
Fix loading manifest from a local app
1 parent cd5fa9e commit e467ecb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

model/app/webapp.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,9 @@ func loadManifestFromDir(slug string) (*WebappManifest, error) {
539539
}
540540
return nil, err
541541
}
542-
app := &WebappManifest{}
542+
app := &WebappManifest{
543+
doc: &couchdb.JSONDoc{},
544+
}
543545
man, err := app.ReadManifest(manFile, slug, "file://localhost"+dir)
544546
if err != nil {
545547
return nil, fmt.Errorf("Could not parse the manifest: %s", err.Error())

0 commit comments

Comments
 (0)