Skip to content

Commit

Permalink
fix empty first line
Browse files Browse the repository at this point in the history
  • Loading branch information
e-korolevskii committed Sep 30, 2022
1 parent 4676217 commit 26db247
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/authutil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 26db247

Please sign in to comment.