From 0a0efa23e3187e8ed4aea3179553f8ef5290f873 Mon Sep 17 00:00:00 2001 From: lsh <596060075@qq.com> Date: Sun, 17 May 2026 01:11:23 +0800 Subject: [PATCH] fix(ci): fix cargo fmt command --- .github/workflows/build.yml | 2 +- cargo-generate.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1052f32..57c6dbe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Check code format - run: cargo fmt -- --check + run: cargo fmt --check - name: Check the package for errors run: cargo check --workspace diff --git a/cargo-generate.toml b/cargo-generate.toml index c47ff7d..c719ed5 100644 --- a/cargo-generate.toml +++ b/cargo-generate.toml @@ -1,2 +1,2 @@ [template] -exclude = ["cliff.toml"] +exclude = ["cliff.toml"] \ No newline at end of file