aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1c9e56957..d9377989f 100644
--- a/packages/sol-resolver/src/resolvers/npm_resolver.ts
+++ b/packages/sol-resolver/src/resolvers/npm_resolver.ts
@@ -9,7 +9,7 @@ import { Resolver } from './resolver';
export class NPMResolver extends Resolver {
private readonly _packagePath: string;
private readonly _workspacePath: string;
- constructor(packagePath: string, workspacePath: string) {
+ constructor(packagePath: string, workspacePath: string = '/') {
super();
this._packagePath = packagePath;
this._workspacePath = workspacePath;