You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Covscan detects the following error on lesscpy-0.14.0:
Error: IDENTICAL_BRANCHES (CWE-398):
lesscpy-0.14.0/build/lib/lesscpy/plib/mixin.py:65: identical_branches: Ternary expression on condition "hasattr(v, "parse")" has identical then and else expressions: "v". Should one of the expressions be modified, or the entire ternary expression replaced?
# 63| if self.args:
# 64| parsed = [
# 65|-> v if hasattr(v, 'parse') else v for v in copy.copy(self.args)
# 66| ]
# 67| args = args if isinstance(args, list) else [args]
The code is still the same in the master branch, also affected by the same error:
Covscan detects the following error on lesscpy-0.14.0:
The code is still the same in the master branch, also affected by the same error:
lesscpy/lesscpy/plib/mixin.py
Line 65 in 1172a16
and was changed with the commit 64b4960.
The text was updated successfully, but these errors were encountered: