mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-22 19:41:08 +07:00
fix empty first line
This commit is contained in:
parent
467621733d
commit
26db2473e9
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -180,7 +180,7 @@ function writeFeedToFile(feedUrl, existingFileLocation, tempFileLocation) {
|
|||||||
suppressEmptyNode: true
|
suppressEmptyNode: true
|
||||||
};
|
};
|
||||||
const builder = new fast_xml_parser_1.XMLBuilder(xmlBuilderOptions);
|
const builder = new fast_xml_parser_1.XMLBuilder(xmlBuilderOptions);
|
||||||
const output = builder.build(xmlSource);
|
const output = builder.build(xmlSource).trim();
|
||||||
core.debug(output);
|
core.debug(output);
|
||||||
fs.writeFileSync(tempFileLocation, output);
|
fs.writeFileSync(tempFileLocation, output);
|
||||||
}
|
}
|
||||||
|
@ -193,7 +193,7 @@ function writeFeedToFile(
|
|||||||
|
|
||||||
const builder = new XMLBuilder(xmlBuilderOptions);
|
const builder = new XMLBuilder(xmlBuilderOptions);
|
||||||
|
|
||||||
const output = builder.build(xmlSource);
|
const output = builder.build(xmlSource).trim();
|
||||||
|
|
||||||
core.debug(output);
|
core.debug(output);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user