style: fix semistandard lint errors

This commit is contained in:
Jonathan Camara 2022-04-28 14:18:08 -05:00
parent 155af1502d
commit 50cae47766
No known key found for this signature in database
GPG key ID: E87744B8CC664ACD
2 changed files with 10 additions and 10 deletions

10
dist/index.js vendored
View file

@ -38,13 +38,13 @@ async function downloadCLI (url) {
core.debug(`Downloading Terraform CLI from ${url}`);
const pathToCLIZip = await tc.downloadTool(url);
let pathToCLI = "";
let pathToCLI = '';
if (os.platform().startsWith('win')) {
core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`)
fixedPathToCLIZip = `${pathToCLIZip}.zip`
io.mv(pathToCLIZip, fixedPathToCLIZip)
core.debug(`Moved download to ${fixedPathToCLIZip}`)
core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`);
const fixedPathToCLIZip = `${pathToCLIZip}.zip`;
io.mv(pathToCLIZip, fixedPathToCLIZip);
core.debug(`Moved download to ${fixedPathToCLIZip}`);
pathToCLI = await tc.extractZip(fixedPathToCLIZip);
} else {
pathToCLI = await tc.extractZip(pathToCLIZip);