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 | |
parent | 9194537085a65fbb6b25d45c5ac5c2d31712455c (diff) | |
download | dexon-sol-tools-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar dexon-sol-tools-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar.gz dexon-sol-tools-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar.bz2 dexon-sol-tools-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar.lz dexon-sol-tools-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar.xz dexon-sol-tools-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.tar.zst dexon-sol-tools-8c69a8f1fbb074ed5654e9c50fab2c3db10556ab.zip |
Update packages/sol-resolver/src/resolvers/npm_resolver.ts
Co-Authored-By: LogvinovLeon <logvinov.leon@gmail.com>
Diffstat (limited to 'packages')
-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('/'); |