Skip to content

Commit 0127b9a

Browse files
rhysdphilc
authored andcommitted
Put newline at the end of exported JSON file
1 parent 01a08ee commit 0127b9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ if (global.DomUtils) { // global.DomUtils is not defined when running our tests.
454454

455455
// Create the blob in the background page so it isn't garbage collected when the page closes in FF.
456456
const bgWin = chrome.extension.getBackgroundPage();
457-
const blob = new bgWin.Blob([ JSON.stringify(backup, null, 2) ]);
457+
const blob = new bgWin.Blob([ JSON.stringify(backup, null, 2) + "\n" ]);
458458
$("backupLink").href = bgWin.URL.createObjectURL(blob);
459459
};
460460

0 commit comments

Comments
 (0)