mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 07:16:22 +07:00 
			
		
		
		
	Fix warning in install.ts
This commit is contained in:
		| @ -1,4 +1,4 @@ | ||||
| import {exec} from '@actions/exec/lib/exec'; | ||||
| import {exec} from '@actions/exec'; | ||||
| import * as core from '@actions/core'; | ||||
| import * as config from './config'; | ||||
| import * as coverage from './coverage'; | ||||
| @ -91,4 +91,8 @@ export async function run(): Promise<void> { | ||||
| } | ||||
|  | ||||
| // call the run function | ||||
| run(); | ||||
| (async () => { | ||||
|   await run(); | ||||
| })().catch(error => { | ||||
|   core.setFailed(error.message); | ||||
| }); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur