mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 09:21:00 +00:00
cp args
This commit is contained in:
parent
4d73af8dd9
commit
74bc508b74
1 changed files with 2 additions and 2 deletions
2
node_modules/@actions/tool-cache/lib/tool-cache.js
generated
vendored
2
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.
|
// due to anti-virus software having an open handle on a file.
|
||||||
for (const itemName of fs.readdirSync(sourceDir)) {
|
for (const itemName of fs.readdirSync(sourceDir)) {
|
||||||
const s = path.join(sourceDir, itemName);
|
const s = path.join(sourceDir, itemName);
|
||||||
shell.cp(s, destPath, '-r');
|
shell.cp('-R', s, destPath);
|
||||||
}
|
}
|
||||||
// write .complete
|
// write .complete
|
||||||
_completeToolPath(tool, version, arch);
|
_completeToolPath(tool, version, arch);
|
||||||
|
|
Loading…
Add table
Reference in a new issue