fix empty first line
This commit is contained in:
parent
467621733d
commit
26db2473e9
|
@ -180,7 +180,7 @@ function writeFeedToFile(feedUrl, existingFileLocation, tempFileLocation) {
|
|||
suppressEmptyNode: true
|
||||
};
|
||||
const builder = new fast_xml_parser_1.XMLBuilder(xmlBuilderOptions);
|
||||
const output = builder.build(xmlSource);
|
||||
const output = builder.build(xmlSource).trim();
|
||||
core.debug(output);
|
||||
fs.writeFileSync(tempFileLocation, output);
|
||||
}
|
||||
|
|
|
@ -193,7 +193,7 @@ function writeFeedToFile(
|
|||
|
||||
const builder = new XMLBuilder(xmlBuilderOptions);
|
||||
|
||||
const output = builder.build(xmlSource);
|
||||
const output = builder.build(xmlSource).trim();
|
||||
|
||||
core.debug(output);
|
||||
|
||||
|
|
Loading…
Reference in New Issue