Skip to content

Commit ab350f5

Browse files
committed
when performing a save install rather than using the patterns for all installed dependencies, use the patterns passed as cli args - fixes #106
1 parent def4e54 commit ab350f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/commands/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export class Install {
199199
json = await fs.readJson(jsonLoc);
200200
}
201201

202-
for (let pattern of this.resolver.dedupePatterns(patterns)) {
202+
for (let pattern of this.resolver.dedupePatterns(this.args)) {
203203
let pkg = this.resolver.getResolvedPattern(pattern);
204204
invariant(pkg, `missing package ${pattern}`);
205205

0 commit comments

Comments
 (0)