mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: fix argument validation for script
This commit is contained in:
1 parent
61597151a8
commit
c43663a1d1
5 files changed
+5
-13
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user