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

Add ignoreJunk option #67

Merged
merged 2 commits into from Aug 4, 2019

Conversation

whitecrownclown
Copy link
Contributor

@whitecrownclown whitecrownclown commented Jun 19, 2019

@sindresorhus
Fixes #57

  • Added ignoreJunk option, defaults to false
  • Updated readme, included tests

One thing i encountered when writing tests for this. If you glob using *, hidden files will be ignored by default.

index.js Outdated Show resolved Hide resolved
@sindresorhus
Copy link
Owner

@whitecrownclown Don't force-push. It makes it impossible for me to see what you changed, so I'm forced to re-review everything instead of just the new changes.

index.js Outdated Show resolved Hide resolved
readme.md Outdated Show resolved Hide resolved
@sindresorhus
Copy link
Owner

You also need to add it to https://github.com/sindresorhus/cpy/blob/master/index.d.ts

@sindresorhus
Copy link
Owner

Can you fix the merge conflict?

@whitecrownclown
Copy link
Contributor Author

I did fix the conflict, but unfortunately I messed up the rebase and had to force push.. Sorry about that.

@sindresorhus sindresorhus merged commit 8008fe6 into sindresorhus:master Aug 4, 2019
@sindresorhus
Copy link
Owner

Looks good :)

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.

Suggestion: noJunk option
2 participants