Skip to content

Commit

Permalink
Rename as collection
Browse files Browse the repository at this point in the history
  • Loading branch information
tarkah committed Feb 5, 2024
1 parent 488ba28 commit fc36732
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/moss/src/client/postblit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ pub async fn postblit(
.await;

// Push all transaction paths into the postblit trigger collection
let mut manager = triggers::Collection::new(triggers.iter().map(|t| &t.0))?;
manager.process_paths(fstree.iter().map(|m| m.to_string()));
let computed_triggers = manager.bake()?;
let mut collection = triggers::Collection::new(triggers.iter().map(|t| &t.0))?;
collection.process_paths(fstree.iter().map(|m| m.to_string()));
let computed_triggers = collection.bake()?;

// Execute in dependency order
for trigger in computed_triggers.iter() {
Expand Down

0 comments on commit fc36732

Please sign in to comment.