Initial commit

This commit is contained in:
WatermelonModders
2022-05-31 12:35:46 -04:00
commit fc5cb0c32c
4097 changed files with 447075 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
var index = require('../index');
module.exports = function(){
return require('log-driver')({level : getLogLevel()});
};
function getLogLevel(){
if (index.options.verbose || hasDebugEnvVariable()) {
return 'warn';
}
return 'error';
}
function hasDebugEnvVariable(){
return process.env.NODE_COVERALLS_DEBUG == 1;
}