Fixed some SonarQube issues.

This commit is contained in:
Yogesh Mahajan
2022-08-30 14:21:33 +05:30
committed by Akshay Joshi
parent af1e9210b9
commit 71a4b20d90
10 changed files with 94 additions and 133 deletions

View File

@@ -29,14 +29,14 @@ import ModalProvider from '../../../../static/js/helpers/ModalProvider';
import DebuggerComponent from './components/DebuggerComponent';
import Theme from '../../../../static/js/Theme';
export default class Debugger {
export default class DebuggerModule {
static instance;
static getInstance(...args) {
if (!Debugger.instance) {
Debugger.instance = new Debugger(...args);
if (!DebuggerModule.instance) {
DebuggerModule.instance = new DebuggerModule(...args);
}
return Debugger.instance;
return DebuggerModule.instance;
}
constructor(pgAdmin, pgBrowser) {