mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-14 04:39:28 +00:00
Fixed the version part in the artifact name.
Removed unused `require`s. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -11,7 +11,7 @@ function artifactName() {
|
||||
const { platform, arch } = process;
|
||||
const id = (() => {
|
||||
if (isRelease) {
|
||||
return 'latest';
|
||||
return getVersion();
|
||||
} else if (isNightly) {
|
||||
return `nightly-${timestamp()}`
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user