From 91397bf8a55a3da4ab79bdcd711755a6a6b33073 Mon Sep 17 00:00:00 2001 From: Fabio B Date: Mon, 3 Dec 2018 13:34:55 +0100 Subject: Update packages/sol-compiler/src/compiler.ts Co-Authored-By: LogvinovLeon --- packages/sol-compiler/src/compiler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') 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('/', ''); } -- cgit