1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-02 15:34:11 +01:00

Stick an EOL on the last line of generated RC files.

Fixes issue #1040.

--HG--
extra : amend_source : b8e7645c3b8dd7851d52c7e060f1288cde2ce718
This commit is contained in:
Doug Kearns
2013-07-29 23:26:14 +10:00
parent 17c1d8595f
commit 81997f897f

View File

@@ -639,7 +639,7 @@ var IO = Module("io", {
lines.push("\n\" vim: set ft=" + config.name + ":"); lines.push("\n\" vim: set ft=" + config.name + ":");
try { try {
file.write(lines.join("\n")); file.write(lines.join("\n").concat("\n"));
dactyl.echomsg(_("io.writing", file.path.quote()), 2); dactyl.echomsg(_("io.writing", file.path.quote()), 2);
} }
catch (e) { catch (e) {