Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #736 from hawkular/tslint-errors
Browse files Browse the repository at this point in the history
Fix tslint errors
  • Loading branch information
mtho11 committed Dec 18, 2015
2 parents 3c8cc4c + 017bffc commit fc3795c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,12 @@ module HawkularMetrics {
}
}

if ( undefined != evalItem.rate ) {
if ( undefined !== evalItem.rate ) {
// handle rate conditions
sum += evalItem.rate;
} else {
// handle 'value' conditions and also compare conditions ('value1')
sum += ( ( undefined != evalItem.value ) ? evalItem.value : evalItem.value1 );
sum += ( ( undefined !== evalItem.value ) ? evalItem.value : evalItem.value1 );
}
count++;
}
Expand Down

0 comments on commit fc3795c

Please sign in to comment.