Skip to content

Commit 26db247

Browse files
committed
fix empty first line
1 parent 4676217 commit 26db247

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function writeFeedToFile(feedUrl, existingFileLocation, tempFileLocation) {
180180
suppressEmptyNode: true
181181
};
182182
const builder = new fast_xml_parser_1.XMLBuilder(xmlBuilderOptions);
183-
const output = builder.build(xmlSource);
183+
const output = builder.build(xmlSource).trim();
184184
core.debug(output);
185185
fs.writeFileSync(tempFileLocation, output);
186186
}

src/authutil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function writeFeedToFile(
193193

194194
const builder = new XMLBuilder(xmlBuilderOptions);
195195

196-
const output = builder.build(xmlSource);
196+
const output = builder.build(xmlSource).trim();
197197

198198
core.debug(output);
199199

0 commit comments

Comments
 (0)