mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-02 17:24: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:
@@ -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