Skip to content

Commit

Permalink
I have no idea what I'm doing
Browse files Browse the repository at this point in the history
  • Loading branch information
krainboltgreene authored Jan 8, 2024
1 parent 3828eca commit 91ad200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ fn validate_globs(globs: &serde_json::Value, path: &str, state: &mut ValidationS

if let Some(globs) = globs.as_array() {
for g in globs {
match glob(g.as_str().unwrap().replace("!", "")) {
match glob(&g.as_str().unwrap().replace("!", "")) {
Ok(res) => {
if res.count() == 0 {
state.errors.push(ValidationError::NoFilesMatchingGlob {
Expand Down

0 comments on commit 91ad200

Please sign in to comment.