Skip to content
Snippets Groups Projects
Verified Commit 509234bb authored by Jan Loewe's avatar Jan Loewe :speech_balloon:
Browse files

chore(formatting): fix formatting

parent 5e9b2237
Branches
No related tags found
No related merge requests found
......@@ -32,10 +32,10 @@ export class DCCDocument {
ignoreComment: true,
trim: true,
attributesKey: "_attr",
elementNameFn: function(val) {
elementNameFn: function (val) {
return val.replace("dcc:", "").replace("si:", "");
},
textFn: function(val) {
textFn: function (val) {
return val
.split("\n")
.map((x) => x.trim())
......@@ -56,7 +56,7 @@ export class DCCDocument {
ignoreComment: true,
spaces: 2,
attributesKey: "_attr",
elementNameFn: function(val, currentElementObj) {
elementNameFn: function (val, currentElementObj) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const currentElement = <any>currentElementObj;
return `${currentElement?.namespace ? `${currentElement.namespace}:` : ""}${val}`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment