1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

CLI: Fixes fatal error with cli 1.0.141 on start (#1791)

- updated terminal-kit to 1.30.0
- do not call method, if object does not exist

fixes #1778
This commit is contained in:
Helmut K. C. Tessarek 2019-08-29 12:05:20 -04:00 committed by Laurent Cozic
parent a889762056
commit 91aa3703d4
2 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class AppGui {
reg.setupRecurrentSync(); reg.setupRecurrentSync();
DecryptionWorker.instance().scheduleStart(); DecryptionWorker.instance().scheduleStart();
} catch (error) { } catch (error) {
this.fullScreen(false); if (this.term_) { this.fullScreen(false); }
console.error(error); console.error(error);
process.exit(1); process.exit(1);
} }

View File

@ -70,6 +70,7 @@
"syswide-cas": "^5.2.0", "syswide-cas": "^5.2.0",
"tar": "^4.4.10", "tar": "^4.4.10",
"tcp-port-used": "^0.1.2", "tcp-port-used": "^0.1.2",
"terminal-kit": "^1.30.0",
"tkwidgets": "^0.5.26", "tkwidgets": "^0.5.26",
"url-parse": "^1.4.7", "url-parse": "^1.4.7",
"uuid": "^3.0.1", "uuid": "^3.0.1",