Skip to content

Commit d09e18e

Browse files
committed
Use path.sep in logger output
1 parent d6630fa commit d09e18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class Logger {
3838
filepath = filepath.replace(`${path.sep}dist${path.sep}`, '');
3939
filepath = filepath.replace('.ts', '');
4040
filepath = filepath.replace('.js', '');
41-
filepath = filepath.replace(/\//g, ':');
41+
filepath = filepath.replace(path.sep, ':');
4242
}
4343
return filepath;
4444
}

0 commit comments

Comments
 (0)