We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eab19c commit e6b57a5Copy full SHA for e6b57a5
espflash/src/cli/serial.rs
@@ -22,9 +22,9 @@ pub fn get_serial_port_info(
22
let ports = detect_usb_serial_ports().unwrap_or_default();
23
24
if let Some(serial) = &matches.serial {
25
- find_serial_port(&ports, serial)
+ find_serial_port(&ports, &std::fs::canonicalize(serial)?.to_string_lossy())
26
} else if let Some(serial) = &config.connection.serial {
27
28
} else {
29
let (port, matches) = select_serial_port(ports, config)?;
30
0 commit comments