Skip to content

Commit

Permalink
Collapse provider_version call in builder
Browse files Browse the repository at this point in the history
  • Loading branch information
saulecabrera committed Aug 13, 2024
1 parent 86cab1f commit 3ebd039
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ fn main() -> Result<()> {
opts.wit.clone(),
opts.wit_world.clone(),
))?)
.source_compression(!opts.no_source_compression);

builder.provider_version("2");
.source_compression(!opts.no_source_compression)
.provider_version("2");

let mut gen = if opts.dynamic {
builder.build::<DynamicGenerator>()?
Expand Down

0 comments on commit 3ebd039

Please sign in to comment.