mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 23:32:30 +02: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:
1 parent
17c1d8595f
commit
81997f897f
1 file changed
+1
-1
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user