refactor(@embark/debugger): initialize default values in private variables instead of constructor

This commit is contained in:
Iuri Matias 2018-11-21 16:46:04 -05:00
parent e2efa4baa0
commit d06ad53ece
1 changed files with 3 additions and 6 deletions

View File

@ -4,15 +4,12 @@ const async = require("async");
export default class DebuggerManager {
private nodeUrl: string;
private outputJson: any;
private inputJson: any;
private isDebugging: boolean;
private outputJson: any = {};
private inputJson: any = {};
private isDebugging: boolean = false;
constructor(nodeUrl: string) {
this.nodeUrl = nodeUrl;
this.outputJson = {};
this.inputJson = {};
this.isDebugging = false;
}
public setInputJson(inputJson: any) {