Torkel Ödegaard hace 9 años
padre
commit
3bb9d47a45
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      public/app/core/utils/kbn.js
  2. 1 1
      tasks/options/exec.js

+ 1 - 1
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;

+ 1 - 1
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"
   };
 };