From 3dfb0ad6ab974bc51bee7a6c63e6b76c2d7a2466 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 11 Dec 2018 13:54:04 -0500 Subject: [PATCH] fix(compiler): fix hang when there is no error --- lib/Compiler.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Compiler.js b/lib/Compiler.js index bedd5ed..b17c25b 100644 --- a/lib/Compiler.js +++ b/lib/Compiler.js @@ -161,9 +161,8 @@ function compileSolc(embark, contractFiles, contractDirectories, callback) { if (isError) { return next(`Error while compiling`); } - - next(null, contracts); } + next(null, contracts); }); },