fix: some js syntax

This commit is contained in:
Gabe Yuan
2024-02-02 15:44:44 +08:00
parent de5f61126d
commit 0973a0b60e
3 changed files with 9 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ export const syncSubRules = async (url) => {
* @returns
*/
export const syncAllSubRules = async (subrulesList) => {
for (let subrules of subrulesList) {
for (const subrules of subrulesList) {
try {
await syncSubRules(subrules.url);
await updateSyncDataCache(subrules.url);