Added unprint logs to profile tests.
This commit is contained in:
@@ -9,7 +9,7 @@ require('winston-daily-rotate-file');
|
||||
const args = require('./argv');
|
||||
|
||||
function logger(filepath) {
|
||||
const root = filepath.match(/src[/\\]|dist[/\\]/);
|
||||
const root = filepath.match(/src[/\\]|dist[/\\]|tests[/\\]/);
|
||||
const filename = filepath.slice(root.index + root[0].length)
|
||||
.replace(path.extname(filepath), '');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user