mirror of
https://github.com/instructkr/claude-code.git
synced 2026-05-30 17:26:44 +00:00
fix(#764): config_parse_error now populates hint field via Display newline delimiter
This commit is contained in:
@@ -217,7 +217,10 @@ impl Display for ConfigError {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
|
||||
match self {
|
||||
Self::Io(error) => write!(f, "{error}"),
|
||||
Self::Parse(error) => write!(f, "{error}"),
|
||||
Self::Parse(error) => write!(
|
||||
f,
|
||||
"{error}\nFix: open the file shown above and correct the JSON syntax, then retry."
|
||||
),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user