feat: commit code
This commit is contained in:
1 parent
6004cfdd40
commit
6ad1333a94
1 file changed
+3
-1
+3
-1
@@ -260,7 +260,9 @@ impl PluginManager {
|
|||||||
for p in child_dirs {
|
for p in child_dirs {
|
||||||
if let Ok(p) = p {
|
if let Ok(p) = p {
|
||||||
if p.path().is_dir() && p.file_name() != "library" {
|
if p.path().is_dir() && p.file_name() != "library" {
|
||||||
res.push(p.file_name().to_str().unwrap().to_string());
|
if p.path().join("init.lua").is_file() {
|
||||||
|
res.push(p.file_name().to_str().unwrap().to_string());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user