mirror of https://github.com/embarklabs/embark.git
Add missing config
The configuration for test is not passed via the engine
This commit is contained in:
parent
850a80c90c
commit
dd8c6b9a35
|
@ -197,7 +197,7 @@ class Engine {
|
|||
this.registerModule('deploytracker', {trackContracts: options.trackContracts});
|
||||
this.registerModule('specialconfigs');
|
||||
this.registerModule('console_listener', {ipc: self.ipc});
|
||||
this.registerModule('contracts_manager');
|
||||
this.registerModule('contracts_manager', {compileOnceOnly: options.compileOnceOnly});
|
||||
this.registerModule('deployment', {plugins: this.plugins, onlyCompile: options.onlyCompile});
|
||||
|
||||
this.events.on('file-event', function (fileType) {
|
||||
|
|
|
@ -83,7 +83,6 @@ class ContractsManager {
|
|||
function compileContracts(callback) {
|
||||
self.events.emit("status", __("Compiling..."));
|
||||
if (self.compileOnceOnly && self.compiledContracts && Object.keys(self.compiledContracts).length) {
|
||||
// Only compile once for tests
|
||||
return callback();
|
||||
}
|
||||
self.events.request("compiler:contracts", self.contractsFiles, compilerOptions, function (err, compiledObject) {
|
||||
|
|
Loading…
Reference in New Issue