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 3e1b000 commit 92debf8Copy full SHA for 92debf8
src/input.rs
@@ -74,7 +74,7 @@ fn get_from_path_or_else<E: Error>(
74
let from_path = read_to_string(path);
75
76
if let Ok(res) = from_path {
77
- Ok(res.trim().to_string())
+ Ok(res)
78
} else {
79
let res = fallback()?;
80
create_dir_all(path.parent().expect("no parent directory"))
0 commit comments