Skip to content

Commit

Permalink
fix(#60): handling default cfg & kebab_case name
Browse files Browse the repository at this point in the history
closes #60
  • Loading branch information
dxps committed Dec 25, 2022
1 parent 15ec138 commit 3209dd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/cli/create/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ impl Create {
.arg(&self.template)
.arg("--name")
.arg(&self.name)
.arg("--force")
.stdout(Stdio::piped())
.stderr(Stdio::inherit())
.output()?;
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ async fn main() -> Result<()> {
let args = Cli::parse();
set_up_logging();

let dioxus_config = DioxusConfig::load()?;
let dioxus_config = DioxusConfig::load().unwrap_or(DioxusConfig::default());

let plugin_state = PluginManager::init(dioxus_config.plugin);

Expand Down

0 comments on commit 3209dd3

Please sign in to comment.