fixed CI console output

This commit is contained in:
2016-08-20 07:51:04 +02:00
parent e4db3ba7ee
commit 1ba1b0447b
2 changed files with 6 additions and 7 deletions

View File

@ -13,7 +13,8 @@ let startTime;
if (process.argv.indexOf("-v") != -1 || process.env.CI) {
doAnimation = false;
} else if (process.argv.indexOf("-v") == -1) {
}
if (process.argv.indexOf("-v") == -1 && process.env.CI) {
doText = true;
}
@ -47,8 +48,7 @@ export let stop = function () {
done.resolve();
})
} else {
console.log(` in ${executionTime} seconds!`);
console.log(`... finished loading moduleName in ${executionTime}`);
console.log(`... finished loading ${moduleName} in ${executionTime}`);
done.resolve();
}
return done.promise;