mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix sync
This commit is contained in:
parent
5d47c2b23e
commit
0df7851214
6
package-lock.json
generated
6
package-lock.json
generated
@ -3345,9 +3345,9 @@
|
||||
}
|
||||
},
|
||||
"electron": {
|
||||
"version": "9.0.3",
|
||||
"resolved": "https://registry.npmjs.org/electron/-/electron-9.0.3.tgz",
|
||||
"integrity": "sha512-rY59wy50z0oWp/q69zq0UIzvtcM5j2BJbLAwEoLfVNS3DLt9wDZqRqSIBvLEBl+xWbafCnRA9haEqi7ssM94GA==",
|
||||
"version": "9.0.4",
|
||||
"resolved": "https://registry.npmjs.org/electron/-/electron-9.0.4.tgz",
|
||||
"integrity": "sha512-QzkeZNAiNB7KxcdoQKSoaiVT/GQdB4Vt0/ZZOuU8tIKABAsni2I7ztiAbUzxcsnQsqEBSfChuPuDQ5A4VbbzPg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@electron/get": "^1.0.1",
|
||||
|
@ -78,7 +78,7 @@
|
||||
"yazl": "^2.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "9.0.3",
|
||||
"electron": "9.0.4",
|
||||
"electron-builder": "22.6.0",
|
||||
"electron-packager": "14.2.1",
|
||||
"electron-rebuild": "1.10.1",
|
||||
|
@ -320,10 +320,10 @@ function timeLimit(promise, limitMs) {
|
||||
return new Promise((res, rej) => {
|
||||
let resolved = false;
|
||||
|
||||
promise.then(() => {
|
||||
promise.then(result => {
|
||||
resolved = true;
|
||||
|
||||
res();
|
||||
res(result);
|
||||
});
|
||||
|
||||
setTimeout(() => {
|
||||
|
@ -221,10 +221,10 @@ function timeLimit(promise, limitMs) {
|
||||
return new Promise((res, rej) => {
|
||||
let resolved = false;
|
||||
|
||||
promise.then(() => {
|
||||
promise.then(result => {
|
||||
resolved = true;
|
||||
|
||||
res();
|
||||
res(result);
|
||||
});
|
||||
|
||||
setTimeout(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user