fix: use clippy fix
This commit is contained in:
1 parent
66b832045a
commit
84d1867654
9 files changed
+36
-44
No files matched your search
@@ -25,7 +25,7 @@ impl Config {
|
||||
match self {
|
||||
Config::Init { name, force } => {
|
||||
let conf_path = crate_root.join("Dioxus.toml");
|
||||
if conf_path.is_file() && force == false {
|
||||
if conf_path.is_file() && !force {
|
||||
log::warn!(
|
||||
"config file `Dioxus.toml` already exist, use `--force` to overwrite it."
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user