Fix formatting issues.
This commit is contained in:
1 parent
70dec5834e
commit
d6999153ae
15 files changed
+30
-28
No files matched your search
+2
-2
@@ -1,13 +1,13 @@
|
||||
use super::Exit;
|
||||
|
||||
/// A subcommand that keel can run.
|
||||
pub trait Command
|
||||
pub trait Command
|
||||
{
|
||||
fn run(&self) -> anyhow::Result<Exit>;
|
||||
|
||||
/// The exit status used when `run` returns an error.
|
||||
///
|
||||
/// Hook subcommands return `Exit::Ok` here, so an
|
||||
/// Hook subcommands return `Exit::Ok` here, so an
|
||||
/// internal error never aborts a pacman transaction.
|
||||
fn on_error(&self) -> Exit { Exit::Error }
|
||||
}
|
||||
Reference in new issue
Block a user