(configElement: any, rootName: string)
| 39 | } |
| 40 | |
| 41 | export function buildXmlElement(configElement: any, rootName: string): string { |
| 42 | const builder = new xml2js.Builder({ |
| 43 | headless: true, |
| 44 | explicitRoot: false, |
| 45 | rootName: rootName, |
| 46 | }); |
| 47 | |
| 48 | return builder.buildObject(configElement); |
| 49 | } |
no outgoing calls
no test coverage detected