mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-10 09:55:46 +01:00
Fix serialization of commands with embedded new lines in their args but no heredoc support.
This commit is contained in:
@@ -528,7 +528,7 @@ lookup:
|
||||
"E189: " + filename.quote() + " exists (add ! to override)");
|
||||
|
||||
// TODO: Use a set/specifiable list here:
|
||||
let lines = [cmd.serialize().map(commands.commandToString) for (cmd in commands) if (cmd.serialize)];
|
||||
let lines = [cmd.serialize().map(commands.commandToString, cmd) for (cmd in commands) if (cmd.serialize)];
|
||||
lines = array.flatten(lines);
|
||||
|
||||
lines.unshift('"' + dactyl.version + "\n");
|
||||
|
||||
Reference in New Issue
Block a user