Skip to content

Commit

Permalink
Merge pull request #35 from farfromrefug/fix_metadata
Browse files Browse the repository at this point in the history
fix: extra metadata was not added correctly to story.json
  • Loading branch information
jersou authored Oct 9, 2024
2 parents 9dbc2dd + 3a26e08 commit babbe3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions serialize/converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ export async function folderToPack(
: fileToStory(firstStoryFile(folder)!),
],
},
...((otherMetadata && Object.keys(otherMetadata).length > 0)
? { extraMetadata: otherMetadata }
: {}),
},
...((otherMetadata && Object.keys(otherMetadata).length > 0)
? { extraMetadata: otherMetadata }
: {}),
};

if (folder.path) {
Expand Down

0 comments on commit babbe3c

Please sign in to comment.