Separate library implementations from module declarations

This commit is contained in:
Samuel Onoja committed 2026-10-22 01:28:03 +01:00
1 parent 1b4db0e681
commit 23e280a6b4
19 files changed
+6250 -6213

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ use std::path::Path;
fn prepare(source: &str) -> Result<String, Box<dyn Error>> {
let mut doc = Document::parse(source)?;
if !ferese_config::activities::setup_shell_hook(&mut doc)? {
if !doc.setup_shell_hook()? {
return Ok(source.into());
}
if doc.get("panels").is_none() {