aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-06-06 22:32:02 -0400
committerAjay <[email protected]>2022-06-06 22:32:02 -0400
commitcaafba5f53031cb627cc4ee686c056f4628de68c (patch)
treeadc6ca367bfc9557ae37a5bb11790dff9e1dcc48
parent32052c17f1ac97048418015ca2e20515ca7827c8 (diff)
downloadSponsorBlock-caafba5f53031cb627cc4ee686c056f4628de68c.tar.gz
SponsorBlock-caafba5f53031cb627cc4ee686c056f4628de68c.zip
remove extra line from export
-rw-r--r--src/utils/exporter.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/exporter.ts b/src/utils/exporter.ts
index 60d3b60e..5de9353c 100644
--- a/src/utils/exporter.ts
+++ b/src/utils/exporter.ts
@@ -11,7 +11,7 @@ export function exportTimes(segments: SponsorTime[]): string {
}
}
- return result;
+ return result.replace(/\n$/, "");
}
function exportTime(segment: SponsorTime): string {