Skip to content

Commit b8ca526

Browse files
wtfbbqhaxbug-ops
andcommitted
Update crates/mcpls-core/src/config/mod.rs
Co-authored-by: Andrei G <k05h31@gmail.com>
1 parent c078356 commit b8ca526

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/mcpls-core/src/config

crates/mcpls-core/src/config/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ fn extract_extension_from_pattern(pattern: &str) -> Option<String> {
126126
return None;
127127
}
128128

129-
let (_, ext) = pattern.rsplit_once('.')?;
129+
let (_, ext) = basename.rsplit_once('.')?;
130130
if ext.is_empty() {
131131
return None;
132132
}

0 commit comments

Comments
 (0)