Skip to content

Commit

Permalink
fix: restore behavior of 'none' frontend (#3951)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity authored Oct 11, 2024
1 parent f313af3 commit f606612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dfx/src/commands/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ fn get_opts_interactively(opts: NewOpts) -> DfxResult<NewOpts> {

let opts = NewOpts {
extras,
frontend: frontend.map(|f| f.name.0.clone()),
frontend: Some(frontend.map_or_else(|| "none".to_string(), |f| f.name.0.clone())),
r#type: Some(backend.name.0.clone()),
..opts
};
Expand Down

0 comments on commit f606612

Please sign in to comment.