diff --git a/public/app/core/utils/kbn.js b/public/app/core/utils/kbn.js index fd1150fc2a0..483b7849c19 100644 --- a/public/app/core/utils/kbn.js +++ b/public/app/core/utils/kbn.js @@ -650,7 +650,7 @@ function($, _) { size *= kbn.intervals_in_seconds[units.find(function(e) { return e.long === timeScale; }).short] * 1000; var string = []; - // after first value >= 1 print only $decimals more + // after first value >= 1 print only $decimals more var decrementDecimals = false; for (var i = 0; i < units.length && decimals >= 0; i++) { var interval = kbn.intervals_in_seconds[units[i].short] * 1000; diff --git a/tasks/options/exec.js b/tasks/options/exec.js index 9e74083623c..ddebbbe2c86 100644 --- a/tasks/options/exec.js +++ b/tasks/options/exec.js @@ -2,6 +2,6 @@ module.exports = function(config) { 'use strict' return { tslint : "node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json", - tscompile: "node ./node_modules/typescript/lib/tsc.js -p tsconfig.json" + tscompile: "node ./node_modules/typescript/lib/tsc.js -p tsconfig.json --diagnostics" }; };