From 4bfb065516611117ba2c00e69d85eaa759df6353 Mon Sep 17 00:00:00 2001 From: Jan Loewe <jan.loewe@ptb.de> Date: Mon, 21 Feb 2022 15:54:21 +0100 Subject: [PATCH] chore(formatting): fix formatting --- src/DCC.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DCC.ts b/src/DCC.ts index ca183c3..e5f3b2f 100644 --- a/src/DCC.ts +++ b/src/DCC.ts @@ -298,7 +298,7 @@ export class RichContentType extends DCCXMLElement { } getContent(lang?: string): StringWithLangType | undefined { - if(!this.content) return null; + if (!this.content) return null; // item with undefined as lang is default const def = this.content.find((x) => x._attr == null || x._attr.lang == null); -- GitLab