Update lib/core/src/server/preview/to-require-context.ts

Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
This commit is contained in:
Norbert de Langen 2020-05-28 15:30:19 +02:00 committed by GitHub
parent db6e46ee10
commit 0be872747d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
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-main-js
`
);
const detectBadGlob = (val: string) => {