Fix: make clippy happy, don't set asset dir env
This commit is contained in:
2 files changed
+1
-7
No files matched your search
@@ -243,7 +243,7 @@ pub fn init<Ctx: HotReloadingContext + Send + 'static>(cfg: Config<Ctx>) {
|
||||
// FIXME: use a more robust system here for embedded discovery
|
||||
//
|
||||
// https://github.com/DioxusLabs/dioxus/issues/1914
|
||||
if listening_paths == &[""] {
|
||||
if listening_paths == [""] {
|
||||
for entry in std::fs::read_dir(&crate_dir)
|
||||
.expect("failed to read rust crate directory. Are you running with cargo?")
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user