diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-03 01:30:17 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-02 04:21:08 +0800 |
commit | 2d0940589eb9659cea5179d5b1665ce717ecdf2e (patch) | |
tree | bad9c7e51020ec1f3a3cef25993bf9163c7e8c2f /packages/deployer/src/compiler.ts | |
parent | 451a0dacbe85d7a0d16ef007c1eb945a4c1977cb (diff) | |
download | dexon-sol-tools-2d0940589eb9659cea5179d5b1665ce717ecdf2e.tar dexon-sol-tools-2d0940589eb9659cea5179d5b1665ce717ecdf2e.tar.gz dexon-sol-tools-2d0940589eb9659cea5179d5b1665ce717ecdf2e.tar.bz2 dexon-sol-tools-2d0940589eb9659cea5179d5b1665ce717ecdf2e.tar.lz dexon-sol-tools-2d0940589eb9659cea5179d5b1665ce717ecdf2e.tar.xz dexon-sol-tools-2d0940589eb9659cea5179d5b1665ce717ecdf2e.tar.zst dexon-sol-tools-2d0940589eb9659cea5179d5b1665ce717ecdf2e.zip |
Initial implementation of Arbitrage contract with tests
Diffstat (limited to 'packages/deployer/src/compiler.ts')
-rw-r--r-- | packages/deployer/src/compiler.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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); |