Skip to content

Commit

Permalink
cleanup, thanks codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncalabrese committed Jul 10, 2015
1 parent ab2b133 commit d46ddbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/pebble.js
Expand Up @@ -78,7 +78,7 @@ function prepareCals (req, sbx) {

if (req.rawbg && data.cals && data.cals.length > 0) {
return _.map(reverseAndSlice(data.cals, req), function transformCal (cal) {
return _.pick(cal, ['slope', 'intercept', 'scale'])
return _.pick(cal, ['slope', 'intercept', 'scale']);
});
} else {
return [];
Expand Down
3 changes: 1 addition & 2 deletions tests/pebble.test.js
@@ -1,6 +1,5 @@
'use strict';

var _ = require('lodash');
var request = require('supertest');
var should = require('should');

Expand Down Expand Up @@ -77,7 +76,7 @@ ctx.data.cals = updateMills([
]);

ctx.data.treatments = updateMills([
{ insulin: "1.50" }
{ insulin: '1.50' }
]);

ctx.data.devicestatus.uploaderBattery = 100;
Expand Down

0 comments on commit d46ddbe

Please sign in to comment.