Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump stylelint from 15.7.0 to 15.10.1 #14162

Merged
merged 9 commits into from
Jul 18, 2023
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions packages/cli/src/commands/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ async function check({ glob: pattern, ignore = [], list = false }) {
logger.info(`Running in: ${cwd}`);
logger.info(`Checking pattern: '${pattern}', ignoring: '${ignore}'`);

// fast-glob's ignore option only accepts an array of strings, not a string
// See: https://github.com/mrmlnc/fast-glob/issues/404#issuecomment-1624832288
if (typeof ignore === 'string') {
ignore = [ignore];
}

const files = await glob(pattern, {
cwd,
ignore,
Expand Down
Loading