Skip to content

Commit

Permalink
fix(release): add additonal null check
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam committed Mar 2, 2024
1 parent b0e2866 commit 4d62bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sfp-cli/src/impl/release/ReleaseImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default class ReleaseImpl {
releaseName = succededDeployment.releaseDefinition.release;
let releaseDefinition = succededDeployment.releaseDefinition;
if (releaseDefinition.changelog) {
if (releaseDefinition.changelog.workItemFilters) {
if (releaseDefinition.changelog?.workItemFilters) {
workitemFilters.push(...releaseDefinition.changelog?.workItemFilters);
}
if (releaseDefinition.changelog.limit > limit) limit = releaseDefinition.changelog.limit;
Expand Down

0 comments on commit 4d62bff

Please sign in to comment.