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

Fix gitignore option compatibility with objectMode option #157

Merged
merged 3 commits into from
Jan 6, 2021

Conversation

LKummer
Copy link
Contributor

@LKummer LKummer commented Dec 31, 2020

Closes #145.

I have added tests and implemented a simple fix.
If you spot any issue or would like changes, feel free to ask.

Add tests where gitignore and objectMode are used together, for sindresorhus#145.
Fix objects being passed as paths when objectMode is enabled by using
the path property if defined.
@LKummer
Copy link
Contributor Author

LKummer commented Jan 1, 2021

Hi @sindresorhus, thank you for merging #159 so quickly.
I pushed an empty commit to trigger a CI run to ease the review.

@sindresorhus sindresorhus changed the title Fix gitignore option compatibility with objectMode Fix gitignore option compatibility with objectMode option Jan 6, 2021
@sindresorhus sindresorhus merged commit f9fc476 into sindresorhus:master Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gitignore option incompatible with objectMode option
2 participants