mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: model.problem.add/del AdditionalFile
This commit is contained in:
1 parent
25e7e00518
commit
9e92891fb2
5 files changed
+36
-45
No files matched your search
@@ -75,7 +75,10 @@ export async function load(call: Entry) {
|
||||
logger.info('Upgrading database: from %d to %d', dbVer, expected);
|
||||
if (isFresh) {
|
||||
const func = scripts[dbVer].toString();
|
||||
if (func.includes('_FRESH_INSTALL_IGNORE')) continue;
|
||||
if (func.includes('_FRESH_INSTALL_IGNORE')) {
|
||||
dbVer++;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
const result = await scripts[dbVer]();
|
||||
if (!result) break;
|
||||
|
||||
Reference in new issue
Block a user