Skip to content

Commit 59804e0

Browse files
committed
docs: update commit message instructions
1 parent 6c63f37 commit 59804e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/api/routes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2254,7 +2254,7 @@ fn uploaded_app_file_name(headers: &HeaderMap) -> Result<String, AppError> {
22542254

22552255
fn sanitize_upload_file_name(raw_name: &str) -> String {
22562256
let candidate = raw_name
2257-
.rsplit(|ch| ch == '/' || ch == '\\')
2257+
.rsplit(['/', '\\'])
22582258
.next()
22592259
.unwrap_or(raw_name)
22602260
.trim();

0 commit comments

Comments
 (0)