Skip to content

Commit

Permalink
Update src/main.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Steven <[email protected]>
  • Loading branch information
beeequeue and styfle authored Sep 1, 2022
1 parent eeb8ac7 commit 11ba9e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export async function run() {
auth.configAuthentication(registryUrl, alwaysAuth);
}

const enableCorepack = core.getInput('corepack');
if (enableCorepack === 'true') {
const enableCorepack = core.getBooleanInput('corepack');
if (enableCorepack) {
await exec.exec('corepack', ['enable']);
}

Expand Down

0 comments on commit 11ba9e6

Please sign in to comment.