mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 17:46:28 +08:00
lgtm: ignore false positive
This commit is contained in:
1 parent
92229c1ee0
commit
51ce9f80d5
2 files changed
+3
-1
No files matched your search
@@ -679,7 +679,7 @@ const Checker = (permPrivChecker) => {
|
||||
}
|
||||
return function check() {
|
||||
checker();
|
||||
if (perm) this.checkPerm(perm);
|
||||
if (perm) this.checkPerm(perm); // lgtm [js/trivial-conditional]
|
||||
if (priv) this.checkPriv(priv);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user