Skip to content

Commit

Permalink
codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncalabrese committed Feb 1, 2016
1 parent c9029ee commit ba20232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/openaps.js
Expand Up @@ -53,7 +53,7 @@ function init() {

if (!device) {
device = {
name: uri.indexOf('openaps://') == 0 ? uri.substring('openaps://'.length) : uri
name: uri.indexOf('openaps://') === 0 ? uri.substring('openaps://'.length) : uri
, uri: uri
};

Expand Down Expand Up @@ -276,7 +276,7 @@ function init() {
return {
label: timeAt(false, sbx) + timeFormat(event.time, sbx)
, value: event.value
}
};
});

sbx.pluginBase.updatePillText(openaps, {
Expand Down

0 comments on commit ba20232

Please sign in to comment.