Added unprint logs to profile tests.

This commit is contained in:
DebaucheryLibrarian
2026-02-09 02:40:41 +01:00
parent ce94456494
commit be90982420
2 changed files with 8 additions and 1 deletions

View File

@@ -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), '');