diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-24 00:02:02 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-24 00:02:02 +0800 |
commit | de36670bdca8f8fb6839f0168bfc5ac49caa28f8 (patch) | |
tree | 49b99ccd4738d776ffb53fca76cfa41f4517df44 /packages | |
parent | e8d68dc07faa1c8daa59b2a3f1980328b2b49017 (diff) | |
download | dexon-0x-contracts-de36670bdca8f8fb6839f0168bfc5ac49caa28f8.tar.gz dexon-0x-contracts-de36670bdca8f8fb6839f0168bfc5ac49caa28f8.tar.zst dexon-0x-contracts-de36670bdca8f8fb6839f0168bfc5ac49caa28f8.zip |
Make workspace path in NPMResolver optional
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 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; |