Perhaps there's a bug in this, when I try it the target file is empty. The README for `cp-file` at https://github.com/sindresorhus/cp-file says you should be using `await` or `cp.sync` when you call it.
Perhaps there's a bug in this, when I try it the target file is empty.
The README for
cp-fileat https://github.com/sindresorhus/cp-file says you should be usingawaitorcp.syncwhen you call it.