From 91ad200100038d1fa271f920f4ec884bdf5337e7 Mon Sep 17 00:00:00 2001 From: Kurtis Rainbolt-Greene Date: Mon, 8 Jan 2024 10:07:57 -0800 Subject: [PATCH] I have no idea what I'm doing --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index fcd7a28..4f8ab08 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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 {