Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

Commit

Permalink
Add missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
maxg committed May 21, 2015
1 parent 6820b0f commit 7c970fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ncp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
Expand Down

0 comments on commit 7c970fb

Please sign in to comment.