mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 01:13:35 +00:00 
			
		
		
		
	changed path of versionFilePath line 24 main.ts
This commit is contained in:
		
							parent
							
								
									fa3de08e5c
								
							
						
					
					
						commit
						b8f2a97f38
					
				@ -21,7 +21,7 @@ export async function run() {
 | 
			
		||||
        const versionFile = core.getInput('node-version-file');
 | 
			
		||||
 | 
			
		||||
        if (!!versionFile) {
 | 
			
		||||
          const versionFilePath = path.join(__dirname, '..', versionFile);
 | 
			
		||||
          const versionFilePath = path.join(process.env.GITHUB_WORKSPACE!, versionFile);
 | 
			
		||||
          version = installer.parseNodeVersionFile(
 | 
			
		||||
            fs.readFileSync(versionFilePath, 'utf8')
 | 
			
		||||
          );
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user