Fixed following code smells reported by SonarQube:
1) Remove this redundant jump.
2) Remove this commented out code.
3) Variables should not be shadowed.
Branch
--
master
Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=343c3ee49c8a4e252d0a5a22d59e85325836af1
Fixed following code smells reported by SonarQube:
1) Immediately return this expression instead of assigning it to the temporary
variable.
2) Extract this nested ternary operation into an independent statement.
3) Expected a `for-of` loop instead of a `for` loop with this simple iteration.
Br
Fixed following code smells reported by SonarQube:
1) Boolean checks should not be inverted.
2) Review this redundant assignment.
3) Extract this nested ternary operation into an independent statement.
4) Unexpected empty function.
5) Immediately return this expression instead of assigning it