diff options
author | Fabio B <kandinsky454@protonmail.ch> | 2018-12-03 20:34:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 20:34:55 +0800 |
commit | 91397bf8a55a3da4ab79bdcd711755a6a6b33073 (patch) | |
tree | f02be9d0301ab5f472c99f9f8534c45c150ba8d9 | |
parent | a355001d1334e314475b881304e60cd9ff76a31f (diff) | |
download | dexon-sol-tools-91397bf8a55a3da4ab79bdcd711755a6a6b33073.tar dexon-sol-tools-91397bf8a55a3da4ab79bdcd711755a6a6b33073.tar.gz dexon-sol-tools-91397bf8a55a3da4ab79bdcd711755a6a6b33073.tar.bz2 dexon-sol-tools-91397bf8a55a3da4ab79bdcd711755a6a6b33073.tar.lz dexon-sol-tools-91397bf8a55a3da4ab79bdcd711755a6a6b33073.tar.xz dexon-sol-tools-91397bf8a55a3da4ab79bdcd711755a6a6b33073.tar.zst dexon-sol-tools-91397bf8a55a3da4ab79bdcd711755a6a6b33073.zip |
Update packages/sol-compiler/src/compiler.ts
Co-Authored-By: LogvinovLeon <logvinov.leon@gmail.com>
-rw-r--r-- | packages/sol-compiler/src/compiler.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-compiler/src/compiler.ts b/packages/sol-compiler/src/compiler.ts index c5b6497df..cba67f292 100644 --- a/packages/sol-compiler/src/compiler.ts +++ b/packages/sol-compiler/src/compiler.ts @@ -398,7 +398,7 @@ export class Compiler { /** * Some imports path are relative ("../Token.sol", "./Wallet.sol") * while others are absolute ("Token.sol", "@0x/contracts/Wallet.sol") - * And we need to do the hack mentooned above only for relative imports. + * And we need to append the base path for relative imports. */ importPath = path.resolve('/' + contractFolder, importPath).replace('/', ''); } |