diff --git a/lib/ncp.js b/lib/ncp.js index 96eed47..a764c4f 100644 --- a/lib/ncp.js +++ b/lib/ncp.js @@ -91,7 +91,7 @@ function ncp (source, dest, options, callback) { return copyFile(file, target); } if(clobber) { - rmFile(target, function () { + return rmFile(target, function () { copyFile(file, target); }); }