Skip to content

Commit dc80605

Browse files
committed
fix(fota): use isPresent instead of isNull
isNull() fails if property does not exist
1 parent c2adfa6 commit dc80605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cdk/resources/FOTA/MultiBundleFlow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ export class MultiBundleFOTAFlow extends Construct {
274274
.next(
275275
new Choice(this, 'Application or MFM updated?')
276276
.when(
277-
Condition.isNotNull(
277+
Condition.isPresent(
278278
`$.updatedDeviceFirmwareDetails.appVersion`,
279279
),
280280
new Pass(this, 'updateReportedAppVersion', {

0 commit comments

Comments
 (0)