shelljs
shelljs copied to clipboard
shx cp -rn segfaults on existing files sometimes
Node version (or tell us if you're using electron or some other framework):
12.22
ShellJS version (the most recent version/Github branch you see the bug on):
shx 0.3.3
Operating system:
Ubuntu
Description of the bug:
shx cp -rn sometimes segfaults with error 139 when files exist.
Example ShellJS command to reproduce the error:
shx cp -rn somefolder/thing tosomewhere/ //and files exist
Can you include the error output?
If you can provide commands to generate test folders, that would be helpful too.
The command
shx cp -rn src/taxi/schemas dist/taxi/
schemas is a folder with x files in it.
just create some dummy files using touch sorry I can't spend much time creating a test case for you.