Skip to content

Commit

Permalink
feat(template-compiler): add to group even if failing
Browse files Browse the repository at this point in the history
  • Loading branch information
LastLeaf committed Nov 19, 2024
1 parent f66e7d0 commit e6c25eb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions glass-easel-template-compiler/src/group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,7 @@ impl TmplGroup {
self.has_scripts = true;
}
let ret = parse_state.take_warnings();
let success = ret.iter().find(|x| x.prevent_success()).is_none();
if success {
self.trees.insert(template.path.clone(), template);
}
self.trees.insert(template.path.clone(), template);
ret
}

Expand Down

0 comments on commit e6c25eb

Please sign in to comment.