Skip to content

Commit

Permalink
fix: update comment syntax in scan handlers for improved clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Dec 10, 2024
1 parent 9876b5b commit f680612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/scan_handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl ScanHandlers {
continue;
}

let pattern = trimmed.split(" #").next().unwrap().trim();
let pattern = trimmed.split("//").next().unwrap().trim();

if !pattern.is_empty() {
match Regex::new(pattern) {
Expand Down

0 comments on commit f680612

Please sign in to comment.