mirror of
				https://kkgithub.com/actions/setup-node.git
				synced 2025-11-04 12:46:16 +08:00 
			
		
		
		
	Release from master
This commit is contained in:
		@ -28,6 +28,9 @@ function writeRegistryToFile(registryUrl, fileLocation) {
 | 
			
		||||
    if (scope && scope[0] != '@') {
 | 
			
		||||
        scope = '@' + scope;
 | 
			
		||||
    }
 | 
			
		||||
    if (scope) {
 | 
			
		||||
        scope = scope.toLowerCase();
 | 
			
		||||
    }
 | 
			
		||||
    core.debug(`Setting auth in ${fileLocation}`);
 | 
			
		||||
    let newContents = '';
 | 
			
		||||
    if (fs.existsSync(fileLocation)) {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user