Implement prefer-template tslint rule

This commit is contained in:
kao
2018-12-07 16:35:00 -08:00
parent aa4fcebdc7
commit f14603ca4d
12 changed files with 18 additions and 17 deletions

View File

@@ -400,7 +400,7 @@ export class Compiler {
* while others are absolute ("Token.sol", "@0x/contracts/Wallet.sol")
* And we need to append the base path for relative imports.
*/
importPath = path.resolve('/' + contractFolder, importPath).replace('/', '');
importPath = path.resolve(`/${contractFolder}`, importPath).replace('/', '');
}
if (_.isUndefined(sourcesToAppendTo[importPath])) {