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