fix: cargo formatting for ci/cd

This commit is contained in:
pandaadir05
2025-11-21 12:52:08 +02:00
parent 2bcfcac407
commit f0606d7835
5 changed files with 57 additions and 49 deletions

View File

@@ -216,7 +216,8 @@ impl DynamicYaraEngine {
#[cfg(not(feature = "yara-scanning"))]
pub fn compile_rules(&mut self) -> Result<usize, GhostError> {
Err(GhostError::Configuration {
message: "YARA scanning is not enabled. Build with --features yara-scanning to enable.".to_string(),
message: "YARA scanning is not enabled. Build with --features yara-scanning to enable."
.to_string(),
})
}
@@ -330,7 +331,8 @@ impl DynamicYaraEngine {
_memory_regions: &[MemoryRegion],
) -> Result<YaraScanResult, GhostError> {
Err(GhostError::Configuration {
message: "YARA scanning is not enabled. Build with --features yara-scanning to enable.".to_string(),
message: "YARA scanning is not enabled. Build with --features yara-scanning to enable."
.to_string(),
})
}