about summary refs log tree commit diff
path: root/pkgs/aszlig/rustfmt/config.patch
blob: 0a49a5856d0b320a7bf1707da5e3c63d3f400cf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/config/mod.rs b/src/config/mod.rs
index cd90e090..a6db6da1 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -282,7 +282,7 @@ impl Config {
                 }
             }
 
-            Ok(None)
+            Ok(Some(env!("DEFAULT_CONFIG_FILE").into()))
         }
 
         match resolve_project_file(dir)? {