Skip to content

Commit

Permalink
Update bin-src/lib/getStorybookMetadata.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Jarel Fryer <68470411+thafryer@users.noreply.github.com>
  • Loading branch information
JonathanKolnik and thafryer committed Jun 7, 2023
1 parent 67ecb22 commit 2c24615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin-src/lib/getStorybookMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const findConfigFlags = async ({ options, packageJson }) => {

export const findBuilder = async (mainConfig, v7) => {
if (!mainConfig) {
return { builder: [{ name: 'unknown', packageVersion: '0' }] };
return { builder: { name: 'unknown', packageVersion: '0' } };
}

const framework = v7 ? mainConfig.getSafeFieldValue(['framework']) : mainConfig?.framework;
Expand Down

0 comments on commit 2c24615

Please sign in to comment.