andrewrk / andrewrk/node-mv

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

Đang mở
#30 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
156
Fork
18
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## 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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.