sindresorhus / cpy

Copy files
MIT License
425 stars 63 forks source link

[Windows] not working in npm script if use ' #83

Closed rendomnet closed 3 years ago

rendomnet commented 3 years ago

If I use npm script "copy": "cpy './package.json' dist"

npm run copy it will give me error Cannot copy'./package.json': the file doesn't exist

But if I remove ' like this cpy ./package.json dist it will run correctly