Skip to content

Commit

Permalink
Add default value for version
Browse files Browse the repository at this point in the history
  • Loading branch information
sdankel committed Jan 28, 2025
1 parent 1d88612 commit 065b3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forc-pkg/src/manifest/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ pub struct Project {
pub authors: Option<Vec<String>>,
#[serde(deserialize_with = "validate_package_name")]
pub name: String,
#[serde(deserialize_with = "validate_package_version")]
#[serde(default, deserialize_with = "validate_package_version")]
pub version: Option<String>,
pub description: Option<String>,
pub organization: Option<String>,
Expand Down

0 comments on commit 065b3c9

Please sign in to comment.