We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 729ee2a commit eb6e90fCopy full SHA for eb6e90f
spec/support/bin/git
@@ -13,8 +13,9 @@ var command = _.first(args);
13
14
var copyRepo = function(from, to) {
15
wrench.mkdirSyncRecursive(path.dirname(to));
16
- // -T is required because 'to' directory may be already created
17
- spawn('cp', ['-Tr', from, to]);
+ wrench.copyDirSyncRecursive(from, to, {
+ forceDelete: true // Directory 'to' may already exists
18
+ });
19
};
20
21
var REAL_GIT = process.env._METEORITE_REAL_GIT;
0 commit comments