Skip to content

Commit

Permalink
#0: ensure we don't try to deploy types that have nothing to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Apr 24, 2024
1 parent e67e606 commit 5ee307d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Deployer.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,12 @@ class Deployer {
this.metadata[type],
typeKeyCombo[selectedType]
);
if (!Object.keys(this.metadata[type]).length) {
Util.logger.warn(
`No deployable metadata found for type ${type} for selected keys`
);
delete this.metadata[type];
}
}
}
} else {
Expand Down

0 comments on commit 5ee307d

Please sign in to comment.