Skip to content

Commit 8d257c1

Browse files
authored
Fix allowed characters.
1 parent 906acff commit 8d257c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/psu-packer/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct ConfigFile {
5353

5454
fn check_name(name: &str) -> bool {
5555
for c in name.chars() {
56-
if !matches!(c, 'a'..'z'|'A'..'Z'|'0'..'9'|'_'|'-'|' ') {
56+
if !matches!(c, 'a'..='z'|'A'..='Z'|'0'..='9'|'_'|'-'|' ') {
5757
return false
5858
}
5959
}

0 commit comments

Comments
 (0)