Skip to content

Commit b01f189

Browse files
committed
return callback
1 parent eb7c890 commit b01f189

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,9 @@ var Embark = {
234234
function deployAndBuildContractsManager(callback) {
235235
Embark.buildAndDeploy(function(err, contractsManager) {
236236
if (err) {
237-
callback(err);
238-
} else {
239-
callback(null, contractsManager);
237+
return callback(err);
240238
}
239+
return callback(null, contractsManager);
241240
});
242241
},
243242
function generateConsoleABI(contractsManager, callback) {

0 commit comments

Comments
 (0)