mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-10-31 15:23:59 +08:00 
			
		
		
		
	Exit
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -18,6 +18,7 @@ async function parsePath(pattern: string, inputName: string) { | ||||
|   const paths = await builder.glob() | ||||
|   if (paths.length !== 1) { | ||||
|     error(`Input ${inputName} is expected to match 1 path, but it matches ${paths.length}: ${inspect(paths)}`) | ||||
|     throw process.exit(1) | ||||
|   } | ||||
|   return paths[0] | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 khai96_
					khai96_