Skip to content

Commit

Permalink
refactor: cargo fmt --all
Browse files Browse the repository at this point in the history
  • Loading branch information
momeemt committed Nov 11, 2024
1 parent fc56e4a commit b070b4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/brack-release/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use toml_edit::{value, DocumentMut};
use anyhow::Result;
use clap::{Parser, Subcommand, ValueEnum};

mod semver;
mod release_note;
mod semver;
use crate::semver::SemVer;

#[derive(Parser, Debug)]
Expand Down Expand Up @@ -83,14 +83,14 @@ async fn main() -> Result<()> {
};
println!("Next version: {}", next_version);
rewrite_all_cargo_toml(&next_version)?;
},
}
SubCommands::DebugUpdate { version } => {
let next_version = SemVer::new_with_string(&version)?;
rewrite_all_cargo_toml(&next_version)?;
},
}
SubCommands::ReleaseNote => {
release_note::get_release_note().await?;

Check failure on line 92 in crates/brack-release/src/main.rs

View workflow job for this annotation

GitHub Actions / clippy

cannot find function `get_release_note` in module `release_note`

error[E0425]: cannot find function `get_release_note` in module `release_note` --> crates/brack-release/src/main.rs:92:27 | 92 | release_note::get_release_note().await?; | ^^^^^^^^^^^^^^^^ not found in `release_note`
},
}
}
Ok(())
}

0 comments on commit b070b4a

Please sign in to comment.