Skip to content

Commit

Permalink
TEMP for debugging on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tevanoff committed May 14, 2024
1 parent 9f3bdc4 commit 038b917
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions node-src/lib/findChangedDependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,21 @@ export const findChangedDependencies = async (ctx: Context) => {
})
);

console.log('*** rootManifestPath', rootManifestPath);
console.log('*** rootLockfilePath', rootLockfilePath);
console.log('*** nestedManifestPaths', nestedManifestPaths);
console.log('*** metadataPathPairs', metadataPathPairs);
console.log('*** packageMetadataChanges', packageMetadataChanges);
console.log('*** untraced', untraced);

if (rootManifestPath && rootLockfilePath) {
metadataPathPairs.unshift([rootManifestPath, rootLockfilePath]);
} else if (!metadataPathPairs.length) {
throw new Error(`Could not find any pairs of ${PACKAGE_JSON} + ${PACKAGE_LOCK} / ${YARN_LOCK}`);
}

console.log('*** metadataPathPairs2', metadataPathPairs);

ctx.log.debug(
{ pathPairs: metadataPathPairs },
`Found ${metadataPathPairs.length} manifest/lockfile pairs to check`
Expand All @@ -81,6 +90,8 @@ export const findChangedDependencies = async (ctx: Context) => {
!untraced.some((glob) => matchesFile(glob, manifestPath)) && commits.length > 0
);

console.log('*** filteredPathPairs', filteredPathPairs);

ctx.log.debug(
{ filteredPathPairs },
`Found ${filteredPathPairs.length} manifest/lockfile pairs to diff`
Expand Down

0 comments on commit 038b917

Please sign in to comment.