Skip to content

Commit

Permalink
Add safety note in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptibell committed Mar 23, 2024
1 parent 292c11a commit c0bf996
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ impl Cli {
"Aftman loaded"
);

// 2. Run the subcommand and capture the result
// 2. Run the subcommand and capture the result - note that we
// do not (!!!) use the question mark operator here, because we
// want to save our data below even if the subcommand fails.
let start_command = Instant::now();
let result = self.subcommand.run(&home).await;
tracing::trace!(
Expand Down

0 comments on commit c0bf996

Please sign in to comment.