mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-11 23:49:03 +08:00
fix (cron-sync-artifact): sync timeout due to missing await
This commit is contained in:
parent
5244de4dba
commit
8f5d027080
6
backend/dist/cron-sync-artifacts.min.js
vendored
6
backend/dist/cron-sync-artifacts.min.js
vendored
File diff suppressed because one or more lines are too long
6
backend/dist/sub-store-parser.loon.min.js
vendored
6
backend/dist/sub-store-parser.loon.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.11.4",
|
"version": "2.11.5",
|
||||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -12,7 +12,7 @@ import $ from '@/core/app';
|
|||||||
if (!artifacts || artifacts.length === 0) return;
|
if (!artifacts || artifacts.length === 0) return;
|
||||||
|
|
||||||
const shouldSync = artifacts.some((artifact) => artifact.sync);
|
const shouldSync = artifacts.some((artifact) => artifact.sync);
|
||||||
if (shouldSync) doSync();
|
if (shouldSync) await doSync();
|
||||||
})().finally(() => $.done());
|
})().finally(() => $.done());
|
||||||
|
|
||||||
async function doSync() {
|
async function doSync() {
|
||||||
|
6
backend/sub-store.min.js
vendored
6
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user