Skip to content

Commit f389bc5

Browse files
Merge pull request #18 from johnnyreilly/patch-1
fix: typo in variable name
2 parents 024abab + 116b365 commit f389bc5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/index.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,22 @@ async function main() {
2323

2424
const targetFile = platform === 'win32' ? 'bicep.exe' : 'bicep';
2525
const toolPath = await tc.cacheFile(downloadFile, targetFile, 'bicep', version || 'latest', arch);
26-
const bicePath = path.join(toolPath, targetFile);
26+
const bicepPath = path.join(toolPath, targetFile);
2727

2828
// make bicep executable
29-
await fs.promises.chmod(bicePath, 0o755);
29+
await fs.promises.chmod(bicepPath, 0o755);
3030

3131
// add bicep to PATH
3232
core.addPath(toolPath);
3333

3434
// print bicep version info
3535
await exec.exec('bicep', ['--version']);
3636

37-
core.info(`Installed bicep to ${bicePath}`);
37+
core.info(`Installed bicep to ${bicepPath}`);
3838
} catch (e) {
3939
issueCommand('remove-matcher', {owner: 'bicep'}, '');
4040
core.setFailed(`${e}`);
4141
}
4242
}
4343

44-
main();
44+
main();

0 commit comments

Comments
 (0)