Use const declarations for variables that are never reassigned (#322)

This commit is contained in:
Serghei Iakovlev authored and GitHub committed 2023-01-31 11:46:49 +01:00
1 parent 21459d0b7b
commit 807559307d
4 files changed
+16 -16

No files matched your search

+2 -2
View File
@@ -67,8 +67,8 @@ export async function run() {
core.info(`##[add-matcher]${matchersPath}`);
// output the version actually being used
let goPath = await io.which('go');
let goVersion = (cp.execSync(`${goPath} version`) || '').toString();
const goPath = await io.which('go');
const goVersion = (cp.execSync(`${goPath} version`) || '').toString();
core.info(goVersion);
core.setOutput('go-version', parseGoVersion(goVersion));