diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-04-13 19:18:59 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-04-13 19:18:59 +0800 |
commit | 06b4f007f88b6eb58a9d49997318b872be9f5dea (patch) | |
tree | d286dac852c49d044a13055b7816db1d47157bcd /packages/deployer/src | |
parent | a9cf42541038d4fcbeb9fde416f5b001b23cb4ba (diff) | |
download | dexon-sol-tools-06b4f007f88b6eb58a9d49997318b872be9f5dea.tar dexon-sol-tools-06b4f007f88b6eb58a9d49997318b872be9f5dea.tar.gz dexon-sol-tools-06b4f007f88b6eb58a9d49997318b872be9f5dea.tar.bz2 dexon-sol-tools-06b4f007f88b6eb58a9d49997318b872be9f5dea.tar.lz dexon-sol-tools-06b4f007f88b6eb58a9d49997318b872be9f5dea.tar.xz dexon-sol-tools-06b4f007f88b6eb58a9d49997318b872be9f5dea.tar.zst dexon-sol-tools-06b4f007f88b6eb58a9d49997318b872be9f5dea.zip |
Introduce packagePath
Diffstat (limited to 'packages/deployer/src')
-rw-r--r-- | packages/deployer/src/compiler.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/deployer/src/compiler.ts b/packages/deployer/src/compiler.ts index 7a9d62491..ef4e048d5 100644 --- a/packages/deployer/src/compiler.ts +++ b/packages/deployer/src/compiler.ts @@ -70,7 +70,8 @@ export class Compiler { this._nameResolver = new NameResolver(path.resolve(this._contractsDir)); const resolver = new FallthroughResolver(); resolver.appendResolver(new URLResolver()); - resolver.appendResolver(new NPMResolver(path.resolve(''))); + const packagePath = path.resolve(''); + resolver.appendResolver(new NPMResolver(packagePath)); resolver.appendResolver(new FSResolver()); resolver.appendResolver(this._nameResolver); this._resolver = resolver; |