Make theme parsing more lenient (#7154)
This PR improves the theme parsing to be a bit more lenient, allowing things like comments and trailing commas in theme files. Release Notes: - N/A
This commit is contained in:
@@ -259,7 +259,7 @@ impl ThemeRegistry {
|
||||
continue;
|
||||
};
|
||||
|
||||
let Some(theme) = serde_json::from_reader(reader).log_err() else {
|
||||
let Some(theme) = serde_json_lenient::from_reader(reader).log_err() else {
|
||||
continue;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user