diff --git a/.forgejo/workflows/rust.yml b/.forgejo/workflows/rust.yml index 788c0d0..abe8d78 100644 --- a/.forgejo/workflows/rust.yml +++ b/.forgejo/workflows/rust.yml @@ -11,8 +11,6 @@ jobs: - uses: actions/checkout@v4 - run: rustup component add rustfmt clippy - run: cargo fmt -- --check - continue-on-error: true - run: cargo clippy -- -D warnings - continue-on-error: true - run: cargo check - - run: cargo test + - run: cargo test \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 3ec9c3e..a32c53a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -67,7 +67,7 @@ fn main() -> Result<()> { .map(|x| { format!( "{} {}", - extract_date_time(x).first().unwrap(), + extract_date_time(&x.to_string()).first().unwrap(), extract_message(x) ) })