mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: fix testdata sync
This commit is contained in:
1 parent
e042cef4fa
commit
e56655abef
6 files changed
+7
-6
No files matched your search
@@ -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/')
|
||||
|
||||
Reference in new issue
Block a user