From c844338c8aa7fd41a56e301ec9325031c06b8f64 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 28 Aug 2018 08:25:38 -0400 Subject: [PATCH] add back return all errors --- lib/modules/solidity/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/modules/solidity/index.js b/lib/modules/solidity/index.js index 9db2f85f7..ced9c980f 100644 --- a/lib/modules/solidity/index.js +++ b/lib/modules/solidity/index.js @@ -37,6 +37,9 @@ class Solidity { if(err){ return callback(err); } + if (output.errors && returnAllErrors) { + return callback(output.errors); + } if (output.errors) { for (let i=0; i