Skip to content

Commit e476317

Browse files
committed
more debug
1 parent 85629de commit e476317

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/plugin-npm/sources/NpmSemverResolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class NpmSemverResolver implements Resolver {
2727
if (!semver.valid(selector))
2828
return false;
2929

30-
console.log(`NpmSemverResolver supports locator`, structUtils.prettyLocator(opts.project.configuration, locator));
30+
// console.log(`NpmSemverResolver supports locator`, structUtils.prettyLocator(opts.project.configuration, locator));
3131

3232
return true;
3333
}

packages/yarnpkg-core/sources/Project.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,8 @@ export class Project {
707707
if (!opts.lockfileOnly)
708708
this.forgetTransientResolutions();
709709

710+
console.log(Array.from(this.originalPackages.values(), locator => structUtils.prettyLocator(this.configuration, locator)).join(`\n`));
711+
710712
// Note that the resolution process is "offline" until everything has been
711713
// successfully resolved; all the processing is expected to have zero side
712714
// effects until we're ready to set all the variables at once (the one

0 commit comments

Comments
 (0)