Skip to content

Conversation

@fisker
Copy link
Member

@fisker fisker commented Nov 16, 2019

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory)
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/pr-XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

src/cli/util.js Outdated
try {
fileIgnored = ignorer.ignores(path.relative(process.cwd(), filename));
} catch (_) {
// Invalid path
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to do this update in next instead and show this error to the user? I’m not sure what an “invalid path” is, but it sounds useful to get to know that some of my patterns are wrong?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know. I'm not changing current behave

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@evilebottnawi Do you have experience from ESLint or stylelint?

Co-Authored-By: Simon Lydell <[email protected]>
try {
fileIgnored = ignorer.ignores(path.relative(process.cwd(), filename));
} catch (_) {
// Invalid path. TODO: Should we show this error to the user, rather than swallowing it?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add note for next major release about that?

@alexander-akait
Copy link
Member

/cc @fisker what is status?

@fisker
Copy link
Member Author

fisker commented Jan 23, 2020

Not sure what I can do

@fisker
Copy link
Member Author

fisker commented Feb 26, 2020

After reading sindresorhus/globby#120 , sindresorhus/globby#112 and sindresorhus/globby#104 I think I did something wrong

@fisker fisker closed this Feb 26, 2020
@fisker fisker mentioned this pull request Jun 12, 2020
4 tasks
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants