Skip to content

Commit

Permalink
Auto fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jhwohlgemuth committed Oct 26, 2018
1 parent 28ba4ba commit 14bd69c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/atmosphere.js
Expand Up @@ -194,7 +194,7 @@ function a(i: number): number {
1.7,
1.1,
0
].map(function(a) {return a === 0 ? a : (a / 1000);});/* eslint-enable no-magic-numbers */
].map(a => a === 0 ? a : (a / 1000));/* eslint-enable no-magic-numbers */
return lapseRates[i];
}
/**
Expand Down
2 changes: 1 addition & 1 deletion lib/geodetic.js
Expand Up @@ -257,7 +257,7 @@ function toDegreesMinutesSeconds(value: point3): ?number[] {
return null;
}
const data = value;
const dimension = data.length - data.slice(0).reverse().findIndex(function(val) {return abs(val) > 0;});
const dimension = data.length - data.slice(0).reverse().findIndex(val => abs(val) > 0);
const degrees = trunc(value[0]);
let minutes = 0;
let seconds = 0;
Expand Down

0 comments on commit 14bd69c

Please sign in to comment.