Skip to content

Commit

Permalink
correct manifest error
Browse files Browse the repository at this point in the history
  • Loading branch information
aghull committed Mar 24, 2024
1 parent 317860d commit 5e84e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (b *Builder) Manifest() (*ManifestV1, error) {
f, err := os.Open(path.Join(b.root, manifestFile))
if err != nil {
if os.IsNotExist(err) {
manifestFile := "game.json"
manifestFile = "game.json"
f, err = os.Open(path.Join(b.root, manifestFile))
if err != nil {
return nil, fmt.Errorf("Cound not find game.json or game.v1.json")
Expand Down

0 comments on commit 5e84e89

Please sign in to comment.