diff options
author | Fabio B <kandinsky454@protonmail.ch> | 2018-12-03 20:35:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 20:35:57 +0800 |
commit | 8c69a8f1fbb074ed5654e9c50fab2c3db10556ab (patch) | |
tree | dbe67f15051874d90991e71c8b21d32aebcfe699 /packages/sol-resolver/src | |
parent | 9194537085a65fbb6b25d45c5ac5c2d31712455c (diff) | |
download | dexon-0x-contracts-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar dexon-0x-contracts-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar.gz dexon-0x-contracts-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar.bz2 dexon-0x-contracts-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar.lz dexon-0x-contracts-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar.xz dexon-0x-contracts-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar.zst dexon-0x-contracts-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.zip |
Update packages/sol-resolver/src/resolvers/npm_resolver.ts
Co-Authored-By: LogvinovLeon <logvinov.leon@gmail.com>
Diffstat (limited to 'packages/sol-resolver/src')
-rw-r--r-- | packages/sol-resolver/src/resolvers/npm_resolver.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-resolver/src/resolvers/npm_resolver.ts b/packages/sol-resolver/src/resolvers/npm_resolver.ts index 222766be7..6c7ebdcd1 100644 --- a/packages/sol-resolver/src/resolvers/npm_resolver.ts +++ b/packages/sol-resolver/src/resolvers/npm_resolver.ts @@ -15,7 +15,7 @@ export class NPMResolver extends Resolver { public resolveIfExists(importPath: string): ContractSource | undefined { if (!importPath.startsWith('/')) { let packageName; - let packageScope; + let packageScopeIfExists; let other; if (importPath.startsWith('@')) { [packageScope, packageName, ...other] = importPath.split('/'); |