andrewrk / andrewrk/node-mv

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

オープン
#30 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
156
フォーク
18
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。