From c2f2feaf372a7677b246688bf029ac42a0c4aa97 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 2 Jun 2020 11:56:26 +0200 Subject: [PATCH] add missing "resolve" --- apps/remix-ide/src/app/tabs/compileTab/compileTab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/tabs/compileTab/compileTab.js b/apps/remix-ide/src/app/tabs/compileTab/compileTab.js index 2b2d8e7d9e..8f1e921ece 100644 --- a/apps/remix-ide/src/app/tabs/compileTab/compileTab.js +++ b/apps/remix-ide/src/app/tabs/compileTab/compileTab.js @@ -68,7 +68,7 @@ class CompileTab { const sources = { [target]: { content } } this.event.emit('startingCompilation') // setTimeout fix the animation on chrome... (animation triggered by 'staringCompilation') - setTimeout(() => this.compiler.compile(sources, target), 100) + setTimeout(() => { this.compiler.compile(sources, target); resolve() }, 100) }) }) }