mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 01:11:00 +00:00
cp args
This commit is contained in:
parent
4d73af8dd9
commit
74bc508b74
1 changed files with 2 additions and 2 deletions
4
node_modules/@actions/tool-cache/lib/tool-cache.js
generated
vendored
4
node_modules/@actions/tool-cache/lib/tool-cache.js
generated
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue