fix(dtmm): Only deploy mods that are enabled

This commit is contained in:
Lucas Schwiderski 2023-02-22 15:54:07 +01:00
parent 8ebc948252
commit 31d45a1cb4
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8

View file

@ -156,7 +156,7 @@ async fn build_bundles(state: Arc<State>) -> Result<()> {
db
};
for mod_info in state.get_mods() {
for mod_info in state.get_mods().iter().filter(|m| m.get_enabled()) {
let span = tracing::trace_span!("building mod packages", name = mod_info.get_name());
let _enter = span.enter();