diff --git a/dist/npmts.plugins.js b/dist/npmts.plugins.js index 2484a09..c604163 100644 --- a/dist/npmts.plugins.js +++ b/dist/npmts.plugins.js @@ -15,7 +15,6 @@ exports.g = { }; exports.merge2 = require("merge2"); exports.projectinfo = require("projectinfo"); -exports.sourceMapSupport = require("source-map-support").install(); exports.path = require("path"); exports.Q = require("q"); exports.shelljs = require("shelljs"); @@ -25,3 +24,4 @@ exports.smartcov = require("smartcov"); exports.smartenv = require("smartenv"); exports.smartfile = require("smartfile"); exports.smartpath = require("smartpath"); +exports.sourceMapSupport = require("source-map-support").install(); diff --git a/dist/npmts.tests.js b/dist/npmts.tests.js index 5f5a4b1..efb06e5 100644 --- a/dist/npmts.tests.js +++ b/dist/npmts.tests.js @@ -47,8 +47,8 @@ var coverage = function (configArg) { plugins.smartcov.get.percentage(plugins.path.join(paths.coverageDir, "lcov.info")) .then(function (percentageArg) { if (percentageArg >= configArg.coverageTreshold) { - plugins.beautylog.ok("your coverage of " + percentageArg + "% " + "exceeds your treshold of " + - configArg.coverageTreshold + "%"); + plugins.beautylog.ok("your coverage of " + percentageArg.toString().blue + "% ".blue + "exceeds your treshold of " + + configArg.coverageTreshold.toString().blue + "%".blue); } else { plugins.beautylog.warn("your coverage of " + percentageArg + "% " + "fails your treshold of " + diff --git a/package.json b/package.json index a6354a2..1a45b11 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "shelljs": "^0.6.0", "smartci": "0.0.1", "smartcli": "0.0.11", - "smartcov": "0.0.3", + "smartcov": "0.0.4", "smartenv": "1.2.0", "smartfile": "2.2.0", "smartpath": "3.0.3", diff --git a/ts/npmts.plugins.ts b/ts/npmts.plugins.ts index 1df4522..25e747e 100644 --- a/ts/npmts.plugins.ts +++ b/ts/npmts.plugins.ts @@ -15,7 +15,6 @@ export let g = { }; export let merge2 = require("merge2"); export let projectinfo = require("projectinfo"); -export let sourceMapSupport = require("source-map-support").install(); export let path = require("path"); export let Q = require("q"); export let shelljs = require("shelljs"); @@ -24,4 +23,5 @@ export let smartcli = require("smartcli"); export let smartcov = require("smartcov"); export let smartenv = require("smartenv"); export let smartfile = require("smartfile"); -export let smartpath = require("smartpath"); \ No newline at end of file +export let smartpath = require("smartpath"); +export let sourceMapSupport = require("source-map-support").install(); \ No newline at end of file diff --git a/ts/npmts.tests.ts b/ts/npmts.tests.ts index 38b4fb9..4db35f2 100644 --- a/ts/npmts.tests.ts +++ b/ts/npmts.tests.ts @@ -51,8 +51,8 @@ let coverage = function(configArg){ .then(function(percentageArg){ if (percentageArg >= configArg.coverageTreshold){ plugins.beautylog.ok( - "your coverage of " + percentageArg + "% " + "exceeds your treshold of " + - configArg.coverageTreshold + "%" + "your coverage of " + percentageArg.toString().blue + "% ".blue + "exceeds your treshold of " + + configArg.coverageTreshold.toString().blue + "%".blue ); } else { plugins.beautylog.warn(