Skip to content

Commit

Permalink
feat: check root project itself for pertains
Browse files Browse the repository at this point in the history
  • Loading branch information
James Zetlen committed Feb 2, 2020
1 parent 621f116 commit 3f10882
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pertain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function pertain(rootDir: string, subject: string): Pertaining[] {
...dependencies,
...devDependencies
});
allDependencyNames.push('./'); // rootDir too
debug('%s allDependencyNames %s', rootDir, allDependencyNames);
depSet = new ExplicitDependencySet(resolve, allDependencyNames);
dependencySetCache.set(rootDir, depSet);
Expand Down

0 comments on commit 3f10882

Please sign in to comment.