mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 15:26:23 +07:00 
			
		
		
		
	Fix typo in blackfire regex on Windows
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -293,7 +293,7 @@ async function addExtensionWindows(extension_csv, version) { | ||||
|             case /^none$/.test(ext_name): | ||||
|                 add_script += '\nDisable-AllShared'; | ||||
|                 break; | ||||
|             case /^(5\.[3-6]|7\.[0-4]|8\.2)blackfire(-\d+\.\d+\.\d+)?$/.test(version_extension): | ||||
|             case /^(5\.[3-6]|7\.[0-4]|8\.[0-2])blackfire(-\d+\.\d+\.\d+)?$/.test(version_extension): | ||||
|             case /^pdo_oci$|^oci8$|^pdo_firebird$/.test(extension): | ||||
|             case /^(5\.[3-6]|7\.[0-4])ioncube$/.test(version_extension): | ||||
|             case /^7\.[0-3]phalcon3$|^7\.[2-4]phalcon4$|^(7\.4|8\.[0-2])phalcon5$/.test(version_extension): | ||||
|  | ||||
| @ -134,7 +134,7 @@ export async function addExtensionWindows( | ||||
|       // match 5.3ioncube...7.4ioncube | ||||
|       // match 7.0phalcon3...7.3phalcon3, 7.2phalcon4...7.4phalcon4, and 7.4phalcon5...8.2phalcon5 | ||||
|       // match 7.1pecl_http...8.1pecl_http and 7.1http...8.1http | ||||
|       case /^(5\.[3-6]|7\.[0-4]|8\.2)blackfire(-\d+\.\d+\.\d+)?$/.test( | ||||
|       case /^(5\.[3-6]|7\.[0-4]|8\.[0-2])blackfire(-\d+\.\d+\.\d+)?$/.test( | ||||
|         version_extension | ||||
|       ): | ||||
|       case /^pdo_oci$|^oci8$|^pdo_firebird$/.test(extension): | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur