Обсуждение: pgAdmin 4 commit: Fix following issues reported by SonarQube:

Поиск
Список
Период
Сортировка

pgAdmin 4 commit: Fix following issues reported by SonarQube:

От
Akshay Joshi
Дата:
Fix following issues reported by SonarQube:
1) Properties of variables with "null" or "undefined" values should not be accessed
2) Variables should not be self-assigned
3) "in" should not be used with primitive types

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8ab358ccecc7e8f0e4e4c364eb162368df8b74f2
Author: Khushboo Vashi <khushboo.vashi@enterprisedb.com>

Modified Files
--------------
.../servers/databases/schemas/tables/rules/static/js/rule.js          | 4 ++--
.../server_groups/servers/databases/schemas/views/static/js/mview.js  | 2 +-
web/pgadmin/browser/server_groups/servers/static/js/variable.js       | 2 +-
web/pgadmin/browser/static/js/browser.js                              | 4 ++--
web/pgadmin/browser/static/js/collection.js                           | 2 +-
web/pgadmin/browser/static/js/node.js                                 | 4 ++--
6 files changed, 9 insertions(+), 9 deletions(-)