From 86379f4ace5e97338df7efdc0ca035fd2680f302 Mon Sep 17 00:00:00 2001 From: undefined Date: Mon, 15 Nov 2021 13:21:53 +0800 Subject: [PATCH] migrate-hustoj: sync testdata --- packages/migrate-hustoj/package.json | 2 +- packages/migrate-hustoj/script.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/migrate-hustoj/package.json b/packages/migrate-hustoj/package.json index ec43d7d0e..db71b9e1a 100644 --- a/packages/migrate-hustoj/package.json +++ b/packages/migrate-hustoj/package.json @@ -1,6 +1,6 @@ { "name": "@hydrooj/migrate-hustoj", - "version": "0.1.0", + "version": "0.1.1", "main": "package.json", "repository": "git@github.com:hydro-dev/Hydro.git", "author": "undefined ", diff --git a/packages/migrate-hustoj/script.ts b/packages/migrate-hustoj/script.ts index 8e3cd0257..8b0e6115f 100644 --- a/packages/migrate-hustoj/script.ts +++ b/packages/migrate-hustoj/script.ts @@ -269,6 +269,7 @@ export async function run({ for (const file of files) { if (!file.isDirectory()) continue; if (!pidMap[file.name]) continue; + report({ message: `Syncing testdata for ${file.name}` }); const datas = await fs.readdir(`${dataDir}/${file.name}`); for (const data of datas) { const filename = nameMap[data] || data;