mirror of https://github.com/embarklabs/embark.git
fix(pipeline): build contracts even when pipeline is disabled
This commit is contained in:
parent
6b2dc95fad
commit
75af5c4ed9
|
@ -31,7 +31,9 @@ class Pipeline {
|
|||
});
|
||||
|
||||
this.events.setCommandHandler('pipeline:build', (options, callback) => {
|
||||
if(!this.pipelineConfig.enabled) return callback();
|
||||
if(!this.pipelineConfig.enabled) {
|
||||
return this.buildContracts([], callback);
|
||||
}
|
||||
this.build(options, callback);
|
||||
});
|
||||
this.events.setCommandHandler('pipeline:build:contracts', callback => this.buildContracts([], callback));
|
||||
|
|
Loading…
Reference in New Issue