-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move add-on version into each package definition. #849
Conversation
@@ -409,7 +409,8 @@ const SettingsScreen = { | |||
let updateUrl = null, updateVersion = null, updateChecksum = null; | |||
if (this.availableAddons.has(name)) { | |||
const available = this.availableAddons.get(name); | |||
if (available.version !== addon.version) { | |||
const cmp = this.compareSemver(addon.version, available.version); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The compareSemver function can be replaced with semver.compare
Oh nevermind, I see, disregard this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not on the UI side...
Codecov Report
@@ Coverage Diff @@
## master #849 +/- ##
==========================================
+ Coverage 77.09% 77.16% +0.06%
==========================================
Files 87 87
Lines 3768 3766 -2
Branches 503 502 -1
==========================================
+ Hits 2905 2906 +1
+ Misses 790 787 -3
Partials 73 73
Continue to review full report at Codecov.
|
Depends on WebThingsIO/addon-list#47 |
No description provided.