We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3135f5 commit 5cea67bCopy full SHA for 5cea67b
src/componentDetection.ts
@@ -300,7 +300,7 @@ export default class ComponentDetection {
300
try {
301
const latestRelease = await octokit.request("GET /repos/{owner}/{repo}/releases/latest", { owner, repo });
302
303
- var downloadURL: string = "";
+ let downloadURL: string = "";
304
// TODO: do we need to handle different architectures here?
305
// can we allow x64 on MacOS? We could allow an input parameter to override?
306
const assetName = process.platform === "win32" ? "component-detection-win-x64.exe" : process.platform === "linux" ? "component-detection-linux-x64" : "component-detection-osx-arm64";
0 commit comments