Skip to content

Commit 9ec81d1

Browse files
committed
style(ui): use narrowed task result boolean
1 parent 2dd6de1 commit 9ec81d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/src/lib/tasks/data.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export function normalizeTasksCancelResult(value: unknown): NormalizedTasksCance
209209
const reason = optionalString(value.reason);
210210
const task = normalizeTaskSummary(value.task);
211211
return {
212-
found: value.found === true,
212+
found: value.found,
213213
cancelled: value.cancelled,
214214
...(reason ? { reason } : {}),
215215
...(task ? { task } : {}),

0 commit comments

Comments
 (0)