From c031d42f41c6fb9502a160747fe211d3cec62bfa Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Mon, 22 Jun 2020 10:31:01 -0400 Subject: [PATCH] change how filenames beginning with _ are tested for --- src/parse/import.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/import.rs b/src/parse/import.rs index 0d5d583..84f8d84 100644 --- a/src/parse/import.rs +++ b/src/parse/import.rs @@ -56,7 +56,7 @@ impl<'a> Parser<'a> { let paths = [ path_buf.with_file_name(name).with_extension("scss"), - path_buf.with_file_name(format!("_{}.scss", name.to_str().unwrap())), + 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"),