mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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 to the temporary variable.
This commit is contained in:
@@ -22,7 +22,7 @@ class EmptySchema extends BaseUISchema {
|
||||
return [];
|
||||
}
|
||||
changeColumnOptions() {
|
||||
|
||||
/*This is intentional (SonarQube)*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ export default class ERDTool {
|
||||
}
|
||||
|
||||
getPreferencesForModule() {
|
||||
|
||||
/*This is intentional (SonarQube)*/
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user