We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef4c92 commit b5322c2Copy full SHA for b5322c2
2 files changed
absolute-zero
@@ -0,0 +1 @@
1
+Subproject commit ad085baa7d25de23fd9cf4de3e88e5896e35c708
aletheia/src/config.rs
@@ -73,7 +73,7 @@ impl Config {
73
let config_path = repo_path.join(".aletheia.toml");
74
75
if config_path.is_file() {
76
- if let Ok(content) = fs::read_to_string(&config_path) {
+ if let Ok(mut file) = fs::File::open(&config_path) { use std::io::Read; let mut content = String::new(); if file.take(1024 * 1024).read_to_string(&mut content).is_ok() {
77
return Self::parse_from_string(&content);
78
}
79
0 commit comments