diff options
author | Aria Shrimpton <me@aria.rip> | 2024-02-24 16:42:25 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-02-24 16:42:25 +0000 |
commit | 8b99b1b412c3427748df976c42d9c5e181580c84 (patch) | |
tree | 590a57cabfbb4ec5c342d8e81b13fcf62398d767 | |
parent | 0194c4a9ffa0fc3b77dedede9beeb1d0e0d5488f (diff) |
actually save best choices when running selection
-rw-r--r-- | src/crates/cli/src/select.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crates/cli/src/select.rs b/src/crates/cli/src/select.rs index 6887e9a..8cff3f0 100644 --- a/src/crates/cli/src/select.rs +++ b/src/crates/cli/src/select.rs @@ -40,6 +40,10 @@ impl State { println!("{}", builder.build().with(Style::sharp())); + let ideal = self.inner.select(proj)?; + self.inner.save_choices(proj, &ideal)?; + info!("Saved best choices"); + if !a.compare { continue; } |