Skip to content

Commit

Permalink
Merge pull request #12739 from ZahraTee/fix-invalid-glob-message
Browse files Browse the repository at this point in the history
Fix copy of invalid glob warning
  • Loading branch information
shilman committed Oct 16, 2020
1 parent e32fee7 commit 41b71da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/server/preview/to-require-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const fixBadGlob = deprecate(
return match.input.replace(match[1], `@${match[1]}`);
},
dedent`
You're specified an invalid glob, we've attempted to fix it, please ensure the glob you specify is a valid glob. See: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#correct-globs-in-mainjs
You have specified an invalid glob, we've attempted to fix it, please ensure that the glob you specify is valid. See: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#correct-globs-in-mainjs
`
);
const detectBadGlob = (val: string) => {
Expand Down

0 comments on commit 41b71da

Please sign in to comment.