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

Strange behavior on latest recursive mode #91

Closed
JounQin opened this issue Sep 4, 2021 · 2 comments · Fixed by #92
Closed

Strange behavior on latest recursive mode #91

JounQin opened this issue Sep 4, 2021 · 2 comments · Fixed by #92

Comments

@JounQin
Copy link

JounQin commented Sep 4, 2021

I installed latest cpy with yarn add cpy@sindresorhus/cpy.

// copy.js

// @ts-check

import cpy from 'cpy'

const args = process.argv.slice(2)

cpy(args, args.pop())
node copy 'node_modules/shiki/{dist/*.wasm,languages,themes}/**' public/shiki

image

node copy 'node_modules/shiki/{dist/*.wasm,languages,themes}/**' public/shiki/_ # note the `/_` here

image

I also tried the following one and it failed.

node copy 'node_modules/shiki/{dist/*.wasm,languages/**,themes/**}' public/shiki

But the following one also worked

node copy 'node_modules/shiki/{dist/*.wasm,languages/**,themes/**}' public/shiki/_
@JounQin
Copy link
Author

JounQin commented Sep 4, 2021

cc @Idered

@Idered
Copy link
Contributor

Idered commented Oct 4, 2021

@JounQin I found the issue and I'm working on solution

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 a pull request may close this issue.

2 participants