diff --git a/lib/server/flop.js b/lib/server/flop.js index 4e45bc66..d03bd43b 100644 --- a/lib/server/flop.js +++ b/lib/server/flop.js @@ -93,7 +93,7 @@ pipe.create(from, to, function(error) { var isDir = error && error.code === 'EISDIR'; - if (isDir) + if (isDir && ncp) ncp(from, to, { stopOnError: true }, callback);