mirror of
				https://github.com/actions/setup-go.git
				synced 2025-10-30 13:34:56 -04:00 
			
		
		
		
	await io.mkdirP
This commit is contained in:
		| @@ -73,13 +73,13 @@ export async function addBinToPath(): Promise<boolean> { | ||||
|     if (!fs.existsSync(gp)) { | ||||
|       // some of the hosted images have go install but not profile dir | ||||
|       core.debug(`creating ${gp}`); | ||||
|       io.mkdirP(gp); | ||||
|       await io.mkdirP(gp); | ||||
|     } | ||||
|  | ||||
|     let bp = path.join(gp, 'bin'); | ||||
|     if (!fs.existsSync(bp)) { | ||||
|       core.debug(`creating ${bp}`); | ||||
|       io.mkdirP(bp); | ||||
|       await io.mkdirP(bp); | ||||
|     } | ||||
|  | ||||
|     core.addPath(bp); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user