Skip to content

Commit

Permalink
fix(querysync): affected packages calculator was broken when 'directo…
Browse files Browse the repository at this point in the history
…ries' contained '.'
  • Loading branch information
tpasternak committed Oct 11, 2024
1 parent 017e063 commit fb3cbf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public AffectedPackages getAffectedPackages() {

private boolean isIncludedInProject(Path file) {
for (Path includePath : projectIncludes()) {
if (file.startsWith(includePath)) {
if (file.startsWith(includePath) || includePath.toString().isEmpty()) {
for (Path excludePath : projectExcludes()) {
if (file.startsWith(excludePath)) {
return false;
Expand Down

0 comments on commit fb3cbf2

Please sign in to comment.