mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 13:29:12 +08:00 
			
		
		
		
	Add type
This commit is contained in:
		@@ -11,7 +11,7 @@ export function configAuthentication(registryUrl: string) {
 | 
			
		||||
 | 
			
		||||
function writeRegistryToFile(registryUrl: string, fileLocation: string) {
 | 
			
		||||
  core.debug(`Setting auth in ${fileLocation}`);
 | 
			
		||||
  let newContents = '';
 | 
			
		||||
  let newContents: string = '';
 | 
			
		||||
  if (fs.existsSync(fileLocation)) {
 | 
			
		||||
    const curContents: string = fs.readFileSync(fileLocation, 'utf8');
 | 
			
		||||
    curContents.split(os.EOL).forEach((line: string) => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user