Skip to content

Commit

Permalink
fix 'none' frontend not working
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Oct 11, 2024
1 parent f313af3 commit 2bf15b1
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 2bf15b1

Please sign in to comment.