Skip to content

Commit

Permalink
Merge pull request #15374 from storybookjs/fix/warnings-typo
Browse files Browse the repository at this point in the history
Webpack5: Fix warnings typo
  • Loading branch information
shilman committed Jun 28, 2021
1 parent 42bc83a commit ac7f832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/builder-webpack5/src/index.ts
Expand Up @@ -60,7 +60,7 @@ export const start: WebpackBuilder['start'] = async ({ startTime, options, route
totalTime: process.hrtime(startTime),
stats: ({
hasErrors: () => true,
hasWarngins: () => false,
hasWarnings: () => false,
toJson: () => ({ warnings: [] as any[], errors: [err] }),
} as any) as Stats,
};
Expand Down

0 comments on commit ac7f832

Please sign in to comment.