Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: use camelCase for debug JSON output, for consistency
✗ CI failure Lars Wirzenius committed 2 years ago
commit 0a3f98f29bb97771f41a6661c9e41890a96b4626
parent 2f72aa1c8385dc3914276971d33f5939750d2f51
1 passed 2 failed (3 total) View logs
1 file changed +2 -0
modified radicle-cli/src/commands/debug.rs
@@ -90,6 +90,7 @@ fn debug(profile: &Profile) -> anyhow::Result<()> {

#[derive(Debug, Serialize)]
#[allow(dead_code)]
+
#[serde(rename_all = "camelCase")]
struct DebugInfo {
    rad_version: &'static str,
    radicle_node_version: String,
@@ -106,6 +107,7 @@ struct DebugInfo {

#[derive(Debug, Serialize)]
#[allow(dead_code)]
+
#[serde(rename_all = "camelCase")]
struct LogFile {
    filename: PathBuf,
    exists: bool,