Skip to content

Commit

Permalink
fix: set a serde default (conda#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-arts authored Dec 17, 2023
1 parent 976b049 commit a6a5faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rattler_conda_types/src/match_spec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ pub struct NamelessMatchSpec {
/// Match the specific filename of the package
pub file_name: Option<String>,
/// The channel of the package
#[serde(deserialize_with = "deserialize_channel")]
#[serde(deserialize_with = "deserialize_channel", default)]
pub channel: Option<Arc<Channel>>,
/// The subdir of the channel
pub subdir: Option<String>,
Expand Down

0 comments on commit a6a5faa

Please sign in to comment.