mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
fix(cli): continue web serve after data warning
This commit is contained in:
1 parent
44e0517890
commit
d2c0edd389
1 file changed
+1
-1
@@ -82,7 +82,7 @@ export async function startHttpServer(options?: HttpServerOptions): Promise<{
|
||||
pathProvider.ensureAllDirs()
|
||||
|
||||
if (hasPendingElectronDataWarning() || !verifyCliDataPath(pathProvider.getDatabaseDir())) {
|
||||
throw new Error(
|
||||
console.error(
|
||||
'\n' +
|
||||
'='.repeat(68) +
|
||||
'\n' +
|
||||
|
||||
Reference in new issue
Block a user