Skip to content

Commit 4d2e0f9

Browse files
committed
lint changes
1 parent ce9487a commit 4d2e0f9

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

apps/sim/tools/jira/utils.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ export function toAdf(value: string | Record<string, unknown>): Record<string, u
2424
if (typeof parsed === 'object' && parsed !== null && parsed.type === 'doc') {
2525
return parsed
2626
}
27-
if (typeof parsed === 'object' && parsed !== null && parsed.type && Array.isArray(parsed.content)) {
27+
if (
28+
typeof parsed === 'object' &&
29+
parsed !== null &&
30+
parsed.type &&
31+
Array.isArray(parsed.content)
32+
) {
2833
return { type: 'doc', version: 1, content: [parsed] }
2934
}
3035
} catch {

0 commit comments

Comments
 (0)