diff options
Diffstat (limited to 'packages/sol-resolver')
-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('/'); |