mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 22:42:48 +03:00
rustfmt
This commit is contained in:
parent
7f35aac7a9
commit
030596a2d4
@ -731,7 +731,10 @@ impl ColorSchemeFile {
|
|||||||
let scheme = Self::from_dynamic(&crate::toml_to_dynamic(value), Default::default())
|
let scheme = Self::from_dynamic(&crate::toml_to_dynamic(value), Default::default())
|
||||||
.map_err(|e| anyhow::anyhow!("{}", e))?;
|
.map_err(|e| anyhow::anyhow!("{}", e))?;
|
||||||
|
|
||||||
anyhow::ensure!(scheme.colors.ansi.is_some(), "scheme is missing ANSI colors");
|
anyhow::ensure!(
|
||||||
|
scheme.colors.ansi.is_some(),
|
||||||
|
"scheme is missing ANSI colors"
|
||||||
|
);
|
||||||
|
|
||||||
Ok(scheme)
|
Ok(scheme)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user