diff --git a/lib/contracts/code_generator.js b/lib/contracts/code_generator.js index e7adc4c92..9b45318a2 100644 --- a/lib/contracts/code_generator.js +++ b/lib/contracts/code_generator.js @@ -115,7 +115,7 @@ class CodeGenerator { }); this.events.setCommandHandler('embark-building-placeholder', (cb) => { - this.buildPlaceholderPage(cb); + self.buildPlaceholderPage(cb); }); }