Skip to content

Commit ced40af

Browse files
committed
Convert VIN argument to uppercase
1 parent e8e774e commit ced40af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async fn main() -> Result<(), Error> {
5454
.get_matches();
5555

5656
let interactive = !matches.contains_id("silent");
57-
let vin = matches.value_of("VIN");
57+
let vin = matches.value_of("VIN").map(|s| s.to_uppercase());
5858
let vin_provided_as_arg = vin.is_some();
5959
let map = matches.value_of("map");
6060

0 commit comments

Comments
 (0)