Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Stolojan <petre.stolojan@arm.com>
  • Loading branch information
Bogdan Stolojan committed Jan 23, 2019
1 parent eca0669 commit da8759f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function load(raw) {
module.exports = () =>
Promise.resolve()${this.compileBackendModuleImports(backendMasterModules)}
.catch(err => {
console.error('Can\'t import master modules:', err));
console.error('Failed to import master modules:', err));
throw err;
}`;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,7 @@ if (isMaster) {
// See: https://github.com/theia-ide/theia/issues/835
process.kill(cp.pid);
});
}${
this.pck.backendElectronMasterModules.size > 0 ?
`
require('../backend/electron-master.js');` : ''}
}
});
} else {
require('../backend/main');
Expand Down

0 comments on commit da8759f

Please sign in to comment.