Skip to content
Myr

Adjust error message

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent 693325b · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:src/main.rs+3 added-3 removed
178 unmodified lines
179 if let Some(sep) = path_separator.clone() {180 if sep.len() > 1 {181 return Err(anyhow!(182 "A path separator must be exactly one byte, but \183 the given separator is {} bytes: {}\n\184 In some shells on Windows '/' is automatically \185 expanded. Use '//' instead.",183 the given separator is {} bytes: '{}'.\n\184 In some shells on Windows, '/' is automatically \185 expanded. Try to use '//' instead.",186 sep.len(),187 sep188 ));189 };
297 unmodified lines