more cosmetics

This commit is contained in:
2016-03-30 15:26:53 +02:00
parent 9e8fc76623
commit e389f78256
5 changed files with 8 additions and 8 deletions

View File

@ -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();

4
dist/npmts.tests.js vendored
View File

@ -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 " +