mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 20:53:06 +00:00
fix: format code
This commit is contained in:
parent
3551d1b6a0
commit
b642dcd739
2 changed files with 4 additions and 2 deletions
|
@ -433,7 +433,9 @@ fn build_assets(config: &CrateConfig) -> Result<Vec<PathBuf>> {
|
|||
let temp = entry.path();
|
||||
if temp.is_file() {
|
||||
let suffix = temp.extension();
|
||||
if suffix.is_none() { continue; }
|
||||
if suffix.is_none() {
|
||||
continue;
|
||||
}
|
||||
let suffix = suffix.unwrap().to_str().unwrap();
|
||||
if suffix == "scss" || suffix == "sass" {
|
||||
// if file suffix is `scss` / `sass` we need transform it.
|
||||
|
|
|
@ -21,4 +21,4 @@ pub use error::*;
|
|||
pub mod logging;
|
||||
pub use logging::*;
|
||||
|
||||
pub mod hot_reload;
|
||||
pub mod hot_reload;
|
||||
|
|
Loading…
Reference in a new issue