diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-20 09:08:15 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-20 09:08:15 +0100 |
commit | fa4573862d294877b4dd795d3cfa911e557f1f24 (patch) | |
tree | d95134c260469fbc9b2a69c28b016d6834f8599b /src/main.rs | |
parent | b180f981b8c93e8379eb3745692fe05830af4a7b (diff) |
Move the cleanness check to the "build" command implementation
All other subcommands should be able to run on an unclean repository, but the
build command should not.
Thus, move this function call from main() to the build() implementation.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index d3e9304..c1e1203 100644 --- a/src/main.rs +++ b/src/main.rs @@ -90,7 +90,6 @@ async fn main() -> Result<()> { let config = config.try_into::<NotValidatedConfiguration>()?.validate()?; - let _ = crate::ui::package_repo_cleanness_check(&repo_path)?; let max_packages = count_pkg_files(&repo_path); let hide_bars = cli.is_present("hide_bars") || crate::util::stdout_is_pipe(); let progressbars = ProgressBars::setup( |