node-mv icon indicating copy to clipboard operation
node-mv copied to clipboard

When moving dir to destination that already exists, the source is simply deleted

Open captbaritone opened this issue 7 years ago • 0 comments
trafficstars

Steps to reproduce:

Move a directory to a location that already exists with clobber set to false.

Expected behavior

An error is passed to the callback.

Actual behavior

The source directory is deleted and no copy is made

Reason

npc does not seem to error when asked to copy a directory on top of an existing file/directory, it just fails silently.

captbaritone avatar Jun 21 '18 22:06 captbaritone