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

Remove unused arg from commands.iterator call in :mkv.

--HG--
extra : rebase_source : df82691921cfa8847e92ea18f8d9849f53db08a2
This commit is contained in:
Doug Kearns
2011-07-21 14:08:28 +10:00
parent 34bb57798d
commit 013408017e

View File

@@ -610,7 +610,7 @@ var IO = Module("io", {
dactyl.assert(!file.exists() || args.bang, _("io.exists", file.path.quote())); dactyl.assert(!file.exists() || args.bang, _("io.exists", file.path.quote()));
// TODO: Use a set/specifiable list here: // 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 = array.flatten(lines);
lines.unshift('"' + config.version + "\n"); lines.unshift('"' + config.version + "\n");