You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: electron-app/scripts/package.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ async function run() {
18
18
'--publish',
19
19
'never',
20
20
'-c.electronVersion',
21
-
electronVersion.slice(1),// removes the leading ^ from the version. TODO: user `semver` to clean it.
21
+
semver.clean(electronVersion.replace(/^\^/,'')),
22
22
'-c.extraMetadata.version',
23
23
version,
24
24
// overrides the `name` in the `package.json` to keep the `localStorage` location. (https://github.com/arduino/arduino-ide/pull/2144#pullrequestreview-1554005028)
0 commit comments