mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed code smell 'Unexpected empty arrow function' reported by SonarQube.
This commit is contained in:
@@ -856,7 +856,7 @@ define([
|
||||
'data': JSON.stringify(sqlite_func_args_list),
|
||||
},
|
||||
})
|
||||
.done(function() {})
|
||||
.done(function() {/*This is intentional (SonarQube)*/})
|
||||
.fail(function() {
|
||||
Notify.alert(
|
||||
gettext('Debugger Error'),
|
||||
@@ -884,7 +884,7 @@ define([
|
||||
'data': JSON.stringify(args_value_list),
|
||||
},
|
||||
})
|
||||
.done(function() {})
|
||||
.done(function() {/*This is intentional (SonarQube)*/})
|
||||
.fail(function(er) {
|
||||
Notify.alert(
|
||||
gettext('Debugger Listener Startup Error'),
|
||||
@@ -906,7 +906,7 @@ define([
|
||||
'data': JSON.stringify(sqlite_func_args_list),
|
||||
},
|
||||
})
|
||||
.done(function() {})
|
||||
.done(function() {/*This is intentional (SonarQube)*/})
|
||||
.fail(function() {
|
||||
Notify.alert(
|
||||
gettext('Debugger Error'),
|
||||
|
||||
@@ -33,7 +33,7 @@ define([
|
||||
if (pgTools.DirectDebug)
|
||||
return pgTools.DirectDebug;
|
||||
|
||||
var controller = new(function() {});
|
||||
var controller = new(function() {/*This is intentional (SonarQube)*/});
|
||||
|
||||
_.extend(
|
||||
controller, Backbone.Events, {
|
||||
@@ -1491,7 +1491,7 @@ define([
|
||||
Function is responsible to create the new wcDocker instance for debugger and
|
||||
initialize the debugger panel inside the docker instance.
|
||||
*/
|
||||
var DirectDebug = function() {};
|
||||
var DirectDebug = function() {/*This is intentional (SonarQube)*/};
|
||||
|
||||
_.extend(DirectDebug.prototype, {
|
||||
/* We should get the transaction id from the server during initialization here */
|
||||
|
||||
Reference in New Issue
Block a user