This commit is contained in:
Bryan MacFarlane 2019-06-26 16:32:26 -06:00 committed by GitHub
parent 4d73af8dd9
commit 74bc508b74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -273,7 +273,7 @@ function cacheDir(sourceDir, tool, version, arch) {
// due to anti-virus software having an open handle on a file.
for (const itemName of fs.readdirSync(sourceDir)) {
const s = path.join(sourceDir, itemName);
shell.cp(s, destPath, '-r');
shell.cp('-R', s, destPath);
}
// write .complete
_completeToolPath(tool, version, arch);
@ -434,4 +434,4 @@ function _evaluateVersions(versions, versionSpec) {
}
return version;
}
//# sourceMappingURL=tool-cache.js.map
//# sourceMappingURL=tool-cache.js.map