fix is_windows (#172)
This commit is contained in:
		
							parent
							
								
									8c5ea631b2
								
							
						
					
					
						commit
						3105fb18c0
					
				
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -7085,7 +7085,7 @@ function usePyPy(majorVersion, architecture) { | |||||||
|     core.addPath(installDir); |     core.addPath(installDir); | ||||||
|     core.addPath(_binDir); |     core.addPath(_binDir); | ||||||
|     // Starting from PyPy 7.3.1, the folder that is used for pip and anything that pip installs should be "Scripts" on Windows.
 |     // Starting from PyPy 7.3.1, the folder that is used for pip and anything that pip installs should be "Scripts" on Windows.
 | ||||||
|     if (IS_WINDOWS) { |     if (utils_1.IS_WINDOWS) { | ||||||
|         core.addPath(path.join(installDir, 'Scripts')); |         core.addPath(path.join(installDir, 'Scripts')); | ||||||
|     } |     } | ||||||
|     const impl = 'pypy' + majorVersion.toString(); |     const impl = 'pypy' + majorVersion.toString(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user