Skip to content

Commit

Permalink
Exit early if a theme file format is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
riquito committed Nov 5, 2023
1 parent 981ec73 commit 3b35e1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ impl Theme {
Ok(t) => return Ok(t),
Err(e) => {
err = Error::from(e);
break;
}
},
Err(e) => err = Error::from(e),
Expand Down

0 comments on commit 3b35e1f

Please sign in to comment.