Style: Automatische Formatierung & Clippy-Fixes
Testing Build, Publish & Preview Release / Build, Publish Packages (Testing) & Create Preview Release (push) Skipped
TruffleHog Secret Scan / TruffleHog (push) Successful in 23s
Code Quality (Auto-Format & Clippy-Fix) / Formatierung & Clippy automatisch beheben (push) Successful in 36s
Security Scans / Trivy & OSV-Scanner (push) Successful in 42s

This commit is contained in:
2026-09-12 22:24:00 +00:00
parent 8c6ec81664
commit 28991dc52a
2 changed files with 3 additions and 10 deletions
+1 -7
View File
@@ -8,18 +8,12 @@ use serde::{Deserialize, Serialize};
/// Hauptkonfigurationsstruktur der Anwendung.
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
#[derive(Default)]
pub struct AppConfig {
/// Allgemeine Einstellungen
pub general: General,
}
impl Default for AppConfig {
fn default() -> Self {
Self {
general: General::default(),
}
}
}
/// Allgemeine Konfigurationseinstellungen.
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
+2 -3
View File
@@ -111,15 +111,14 @@ pub fn run_compose_command(dir: &Path, args: &[&str]) -> std::io::Result<Output>
|| stderr.contains("unknown command \"compose\"")
|| stderr.contains("unknown command: compose"));
if is_unavailable {
if let Ok(fallback_out) = Command::new("docker-compose")
if is_unavailable
&& let Ok(fallback_out) = Command::new("docker-compose")
.current_dir(dir)
.args(args)
.output()
{
return Ok(fallback_out);
}
}
Ok(out)
}
Err(err) if err.kind() == std::io::ErrorKind::NotFound => {