Skip to content

Commit

Permalink
fix(preset-iis): parse without explicitArray to allow merging `web.…
Browse files Browse the repository at this point in the history
…config` (#2457)
  • Loading branch information
Ariesly authored May 21, 2024
1 parent 4555b58 commit 6c3e080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/presets/iis/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ async function parseXmlDoc(xml: string): Promise<Record<string, unknown>> {
if (xml === undefined || !xml) {
return {};
}
const parser = new Parser();
const parser = new Parser({ explicitArray: false });
let parsedRecord: Record<string, unknown> = {};
parser.parseString(xml, (_, r) => {
parsedRecord = r;
Expand Down

0 comments on commit 6c3e080

Please sign in to comment.