feat(viewer): add bounding-box and animated SVG loading spinner
This commit is contained in:
10
src/main.rs
10
src/main.rs
@@ -18,11 +18,11 @@ pub fn main() -> Result<()> {
|
||||
.change_context(Error)
|
||||
.attach("Failed to canonicalize path")?;
|
||||
let files = walker(&input);
|
||||
if files.is_empty() {
|
||||
return Err(Error)
|
||||
.attach("No files found in the folder")
|
||||
.attach(input.display().to_string());
|
||||
}
|
||||
// if files.is_empty() {
|
||||
// return Err(Error)
|
||||
// .attach("No files found in the folder")
|
||||
// .attach(input.display().to_string());
|
||||
// }
|
||||
viewer::run(files);
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user