Log only when in verbose mode

This commit is contained in:
Daniel Bulant 2020-03-02 19:32:52 +01:00
parent 40aeb7d6a8
commit 14e969b0cd

View file

@ -6,6 +6,7 @@ const chalk = require("chalk");
console = (function(oldCons){ console = (function(oldCons){
return { return {
log: function(...text){ log: function(...text){
if(argv.verbose)
oldCons.log(...text); oldCons.log(...text);
}, },
info: function(...text){ info: function(...text){