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 empty check #74

Closed
wants to merge 2 commits into from
Closed

Fix empty check #74

wants to merge 2 commits into from

Conversation

taion
Copy link

@taion taion commented Feb 13, 2020

This is a follow-up to #50. The check and the test to not throw when globs were included was wrong, because the glob provided actually did match files.

@sindresorhus sindresorhus changed the title fix: Fix empty check Fix empty check Feb 16, 2020
@sindresorhus
Copy link
Owner

@taion
Copy link
Author

taion commented Feb 17, 2020

Okay; I fixed it, but this is likely irrelevant given @whitecrownclown's #75.

@taion
Copy link
Author

taion commented Feb 17, 2020

Feel free to close this out if we're going with #75, but @whitecrownclown could I ask you to pull in the change per https://github.com/sindresorhus/cpy/pull/74/files#diff-1dd241c4cd3fd1dd89c570cee98b79ddR162 so that test case actually covers what it's supposed to?

@whitecrownclown
Copy link
Contributor

@taion Thanks, I've updated the PR with your suggestion.

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.

None yet

3 participants