Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
await io.mkdirP
  • Loading branch information
Fraser Waters committed Mar 28, 2022
1 parent 6577160 commit 0b4fbc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Expand Up @@ -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);
Expand Down

0 comments on commit 0b4fbc5

Please sign in to comment.