minor change to #6904

pull/6928/head
Torkel Ödegaard 9 years ago
parent 815722c3cc
commit 3bb9d47a45
  1. 2
      public/app/core/utils/kbn.js
  2. 2
      tasks/options/exec.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;

@ -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"
};
};

Loading…
Cancel
Save