mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 13:33:34 +00:00 
			
		
		
		
	cp args
This commit is contained in:
		
							parent
							
								
									4d73af8dd9
								
							
						
					
					
						commit
						74bc508b74
					
				
							
								
								
									
										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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user