aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/sol-resolver/src/resolvers/npm_resolver.ts2
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('/');