Closed wunaidage closed 4 years ago
I find that tilde sign is not supported by fs. Devs need to expand it manually. so it's a miracle for me that macos and linux works. but I believe in science more so I modified the code a little bit and published to npm to support the tilde sign for home directory https://www.npmjs.com/package/@wunaidage/copyfiles
should I PR it?
sure open a pr
https://github.com/calvinmetcalf/copyfiles/pull/90 thank you PR created
my command is
copyfiles -f ~/checkout/config.js './dist/configurations/'
I use yarn to run it so the real command isyarn copyfiles -f ~/checkout/config.js './dist/configurations/'
it works on macos and linux it does not work with windows 10. I tried all double / single quote on both source and destination partthe powershell output:
I tried to change the source directory to random garbage name which even not exist but it does not show any error