Skip to content

Commit 57c6bf0

Browse files
CzBiXlucasfernog
andauthored
fix(cli): fix default-run not deserialized (#6584)
* fix(cli): fix default-run not deserialized * Create fix-cli-default-run.md * Update .changes/fix-cli-default-run.md [skip ci] --------- Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
1 parent 38ee506 commit 57c6bf0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changes/fix-cli-default-run.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"cli.rs": patch
3+
"cli.js": patch
4+
---
5+
6+
Fix `default-run` not deserialized.

tooling/cli/src/interface/rust.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ struct BinarySettings {
581581

582582
/// The package settings.
583583
#[derive(Debug, Clone, Deserialize)]
584+
#[serde(rename_all = "kebab-case")]
584585
pub struct CargoPackageSettings {
585586
/// the package's name.
586587
pub name: Option<String>,

0 commit comments

Comments
 (0)