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 18s
Code Quality (Auto-Format & Clippy-Fix) / Formatierung & Clippy automatisch beheben (push) Successful in 32s
Security Scans / Trivy & OSV-Scanner (push) Successful in 34s
Testing Build, Publish & Preview Release / Build, Publish Packages (Testing) & Create Preview Release (push) Skipped
TruffleHog Secret Scan / TruffleHog (push) Successful in 18s
Code Quality (Auto-Format & Clippy-Fix) / Formatierung & Clippy automatisch beheben (push) Successful in 32s
Security Scans / Trivy & OSV-Scanner (push) Successful in 34s
This commit is contained in:
+1
-3
@@ -7,14 +7,12 @@ use config_ctdra::get_config as get_cached_config;
|
|||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
/// Hauptkonfigurationsstruktur der Anwendung.
|
/// Hauptkonfigurationsstruktur der Anwendung.
|
||||||
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
|
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Default)]
|
||||||
#[derive(Default)]
|
|
||||||
pub struct AppConfig {
|
pub struct AppConfig {
|
||||||
/// Allgemeine Einstellungen
|
/// Allgemeine Einstellungen
|
||||||
pub general: General,
|
pub general: General,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// Allgemeine Konfigurationseinstellungen.
|
/// Allgemeine Konfigurationseinstellungen.
|
||||||
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
|
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
|
||||||
pub struct General {
|
pub struct General {
|
||||||
|
|||||||
+3
-3
@@ -116,9 +116,9 @@ pub fn run_compose_command(dir: &Path, args: &[&str]) -> std::io::Result<Output>
|
|||||||
.current_dir(dir)
|
.current_dir(dir)
|
||||||
.args(args)
|
.args(args)
|
||||||
.output()
|
.output()
|
||||||
{
|
{
|
||||||
return Ok(fallback_out);
|
return Ok(fallback_out);
|
||||||
}
|
}
|
||||||
Ok(out)
|
Ok(out)
|
||||||
}
|
}
|
||||||
Err(err) if err.kind() == std::io::ErrorKind::NotFound => {
|
Err(err) if err.kind() == std::io::ErrorKind::NotFound => {
|
||||||
|
|||||||
Reference in New Issue
Block a user