mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 03:42:30 +01:00
Remove unused arg from commands.iterator call in :mkv.
--HG-- extra : rebase_source : df82691921cfa8847e92ea18f8d9849f53db08a2
This commit is contained in:
@@ -610,7 +610,7 @@ var IO = Module("io", {
|
||||
dactyl.assert(!file.exists() || args.bang, _("io.exists", file.path.quote()));
|
||||
|
||||
// TODO: Use a set/specifiable list here:
|
||||
let lines = [cmd.serialize().map(commands.commandToString, cmd) for (cmd in commands.iterator(true)) if (cmd.serialize)];
|
||||
let lines = [cmd.serialize().map(commands.commandToString, cmd) for (cmd in commands.iterator()) if (cmd.serialize)];
|
||||
lines = array.flatten(lines);
|
||||
|
||||
lines.unshift('"' + config.version + "\n");
|
||||
|
||||
Reference in New Issue
Block a user