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 b2d6008 commit a7da71cCopy full SHA for a7da71c
src/tui/app.rs
@@ -135,10 +135,9 @@ impl App {
135
}
136
} else {
137
Err(io::Error::new(
138
- io::ErrorKind::InvalidInput,
+ io::ErrorKind::NotADirectory,
139
format! {"Provided filepath not a directory {}", dir.display()},
140
))
141
- //TODO: return is not directory error
142
143
144
fn write_recipe(recipe: Recipe, out_path: &Path) -> Result<(), io::Error> {
@@ -165,10 +164,9 @@ impl App {
165
164
Ok(())
166
167
168
169
170
171
172
173
174
0 commit comments