judge: fix testdata sync

This commit is contained in:
undefined committed 2021-08-19 11:07:27 +08:00
1 parent e042cef4fa
commit e56655abef
6 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -275,7 +275,7 @@ export namespace Time {
export function errorMessage(err: Error | string) {
const t = typeof err === 'string' ? err : err.stack;
const parsed = t
.replace(/[A-Z]:\\.+\\@hydrooj\\/g, '\\')
.replace(/[A-Z]:\\.+\\@hydrooj\\/g, '@hydrooj\\')
.replace(/\/.+\/@hydrooj\//g, '\\')
.replace(/[A-Z]:\\.+\\hydrooj\\/g, 'hydrooj\\')
.replace(/\/.+\/hydrooj\//g, 'hydrooj/')