fix: return error if vscode config fails to parse, instead of overwriting

This commit is contained in:
Ashley Wulber 2024-07-17 13:27:53 -04:00 committed by Michael Murphy
parent 2dd55f2f20
commit cfa1adaf46
2 changed files with 3 additions and 1 deletions

View file

@ -14,6 +14,8 @@ pub enum OutputError {
Io(std::io::Error),
#[error("Missing config directory")]
MissingConfigDir,
#[error("Serde Error: {0}")]
Serde(#[from] serde_json::Error),
}
impl Theme {