core: fix argument validation for script

This commit is contained in:
undefined committed 2021-04-21 13:33:07 +08:00
1 parent 61597151a8
commit c43663a1d1
5 files changed
+5 -13

No files matched your search

-5
View File
@@ -489,11 +489,6 @@ export async function run({
report({ message: 'No valid installation found' });
return false;
}
await dst.collection('system').updateOne(
{ _id: 'user' },
{ $set: { value: userCounter.value } },
{ upsert: true },
);
await report({ progress: 1, message: 'Collection:system done.' });
if (!await dst.collection('system').findOne({ _id: 'migrateVijosFs' })) {
const f = ['fs.files', 'fs.chunks'] as any;