mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-02 02:15:58 +00:00
please linter
This commit is contained in:
parent
ab859d4ef5
commit
2c30271d29
@ -14,12 +14,11 @@ class ProcessWrapper {
|
||||
*
|
||||
* @param {Options} options pingParent: true by default
|
||||
*/
|
||||
constructor(argOptions = {}) {
|
||||
const defaultOptions = {pingParent: true}
|
||||
const options = {...defaultOptions, ...argOptions};
|
||||
constructor(options = {}) {
|
||||
this.options = Object.assign({pingParent: true}, options);
|
||||
this.interceptLogs();
|
||||
this.events = new Events();
|
||||
if(options.pingParent) {
|
||||
if(this.options.pingParent) {
|
||||
this.pingParent();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user