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
|
||||
*/
|
||||
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…
Reference in New Issue