mirror of
https://github.com/DeterminateSystems/flake-checker.git
synced 2024-09-19 18:39:24 +03:00
Fix Rust formatting
This commit is contained in:
parent
51c67340e3
commit
b6eb5ac1ba
@ -50,7 +50,12 @@ struct Cli {
|
|||||||
flake_lock_path: PathBuf,
|
flake_lock_path: PathBuf,
|
||||||
|
|
||||||
/// Fail with an exit code of 1 if any issues are encountered.
|
/// Fail with an exit code of 1 if any issues are encountered.
|
||||||
#[arg(long, short, env = "NIX_FLAKE_CHECKER_FAIL_MODE", default_value_t = false)]
|
#[arg(
|
||||||
|
long,
|
||||||
|
short,
|
||||||
|
env = "NIX_FLAKE_CHECKER_FAIL_MODE",
|
||||||
|
default_value_t = false
|
||||||
|
)]
|
||||||
fail_mode: bool,
|
fail_mode: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,10 @@ impl Summary {
|
|||||||
"supported_ref_names": ALLOWED_REFS,
|
"supported_ref_names": ALLOWED_REFS,
|
||||||
});
|
});
|
||||||
|
|
||||||
Self { issues: issues.to_vec(), data }
|
Self {
|
||||||
|
issues: issues.to_vec(),
|
||||||
|
data,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn generate_markdown(&self) -> Result<(), FlakeCheckerError> {
|
pub fn generate_markdown(&self) -> Result<(), FlakeCheckerError> {
|
||||||
|
Loading…
Reference in New Issue
Block a user