Skip to content

Commit 5cea67b

Browse files
aegilopsCopilot
andauthored
Update src/componentDetection.ts
Co-authored-by: Copilot <[email protected]>
1 parent f3135f5 commit 5cea67b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/componentDetection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export default class ComponentDetection {
300300
try {
301301
const latestRelease = await octokit.request("GET /repos/{owner}/{repo}/releases/latest", { owner, repo });
302302

303-
var downloadURL: string = "";
303+
let downloadURL: string = "";
304304
// TODO: do we need to handle different architectures here?
305305
// can we allow x64 on MacOS? We could allow an input parameter to override?
306306
const assetName = process.platform === "win32" ? "component-detection-win-x64.exe" : process.platform === "linux" ? "component-detection-linux-x64" : "component-detection-osx-arm64";

0 commit comments

Comments
 (0)