From 2d0940589eb9659cea5179d5b1665ce717ecdf2e Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 2 Feb 2018 18:30:17 +0100 Subject: Initial implementation of Arbitrage contract with tests --- packages/deployer/src/compiler.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/deployer') diff --git a/packages/deployer/src/compiler.ts b/packages/deployer/src/compiler.ts index 149ca5d6d..ea66444b2 100644 --- a/packages/deployer/src/compiler.ts +++ b/packages/deployer/src/compiler.ts @@ -209,6 +209,9 @@ export class Compiler { const normalizedErrMsg = Compiler._getNormalizedErrMsg(errMsg); this._solcErrors.add(normalizedErrMsg); }); + if (!_.isEmpty(compiled.errors)) { + return; + } } const contractName = path.basename(fileName, constants.SOLIDITY_FILE_EXTENSION); -- cgit v1.2.3