Skip to content

Commit 024eabe

Browse files
authored
fix(MarkRights): typo (qiuwenbaike#1680)
* fix(MarkRights): typo * build: update dependencies
1 parent 3639be4 commit 024eabe

File tree

4 files changed

+67
-67
lines changed

4 files changed

+67
-67
lines changed

dist/MarkRights/MarkRights.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"eslint-plugin-vue": "^9.32.0",
109109
"git-pull-run": "^1.4.0",
110110
"glob": "^11.0.1",
111-
"happy-dom": "^16.7.2",
111+
"happy-dom": "^16.7.3",
112112
"husky": "^9.1.7",
113113
"less-plugin-npm-import": "^2.1.0",
114114
"less-plugin-preset-env": "^2.0.2",

pnpm-lock.yaml

Lines changed: 61 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/MarkRights/modules/util/getUserGroups.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const getLocalUserGroups = async (ususers: string[]): Promise<Record<string, str
4141
userGroups[username] = mw.storage.getObject(OPTIONS.storageKeyLocal + username) as string[];
4242
}
4343

44-
return !!userGroups?.[username]?.length;
44+
return !userGroups?.[username]?.length;
4545
});
4646

4747
try {
@@ -84,7 +84,7 @@ const getGlobalUserGroups = async (ususers: string[]): Promise<Record<string, st
8484
userGroups[username] = mw.storage.getObject(OPTIONS.storageKeyGlobal + username) as string[];
8585
}
8686

87-
return !!userGroups?.[username]?.length;
87+
return !userGroups?.[username]?.length;
8888
});
8989

9090
for (const user of ususers) {

0 commit comments

Comments
 (0)