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

flat doesn't work. #86

Open
mesqueeb opened this issue Jul 11, 2020 · 1 comment
Open

flat doesn't work. #86

mesqueeb opened this issue Jul 11, 2020 · 1 comment

Comments

@mesqueeb
Copy link

flat doesn't work in the options.

new Promise((resolve) => copyfiles([from, to], { flat: true }, resolve)
@water-a
Copy link

water-a commented Dec 2, 2020

You can just use { up: true } instead of { flat: true } because it seems like the "flat" option isn't even in the copyfiles code. And when you execute via CLI when using the flat flag, it just sets the 'up' flag to true.

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

No branches or pull requests

2 participants