diff --git a/src/parse/import.rs b/src/parse/import.rs index 84f8d84..cfe9a8f 100644 --- a/src/parse/import.rs +++ b/src/parse/import.rs @@ -56,7 +56,9 @@ impl<'a> Parser<'a> { let paths = [ path_buf.with_file_name(name).with_extension("scss"), - path_buf.with_file_name(format!("_{}", name.to_str().unwrap())).with_extension("scss"), + path_buf + .with_file_name(format!("_{}", name.to_str().unwrap())) + .with_extension("scss"), path_buf.clone(), path_buf.join("index.scss"), path_buf.join("_index.scss"),