Skip to content

Commit

Permalink
fix(core): workspace context glob respects exclude (#22939)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6ef17d2)
  • Loading branch information
Coly010 authored and FrozenPandaz committed Apr 23, 2024
1 parent ea58306 commit 3db58e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/native/workspace/config_files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub(super) fn glob_files(

exclude_glob_set
.as_ref()
.map(|exclude_glob_set| exclude_glob_set.is_match(path))
.map(|exclude_glob_set| !exclude_glob_set.is_match(path))
.unwrap_or(is_match)
}))
}

0 comments on commit 3db58e1

Please sign in to comment.