Skip to content

Commit ee67c9b

Browse files
authored
Merge pull request mitchmac#25 from notio-ca/patch-1
mv instead of cp
2 parents b2dd5a4 + f7deb34 commit ee67c9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

util/directory.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ exports.setup = function() {
55
if (!fs.existsSync('/tmp/wp')) {
66
fs.mkdirSync('/tmp/wp');
77
try {
8-
execSync('cp -R /var/task/wp/* /tmp/wp/');
8+
execSync('mv /var/task/wp /tmp/');
99
}
1010
catch (err) {
1111
console.log(err);
1212
}
1313
}
14-
}
14+
}

0 commit comments

Comments
 (0)