mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 21:52:30 +02:00
Serialize the :map -count flag.
This commit is contained in:
1 parent
491c9a0573
commit
9df1f7b6cf
2 files changed
+4
No files matched your search
@@ -165,8 +165,11 @@ var Command = Class("Command", {
|
||||
if (args.bang && !this.bang)
|
||||
throw FailedAssertion(_("command.noBang"));
|
||||
|
||||
args.doc = this.hive.group.lastDocument;
|
||||
|
||||
return !dactyl.trapErrors(function exec() {
|
||||
let extra = this.hive.argsExtra(args);
|
||||
|
||||
for (let k in properties(extra))
|
||||
if (!(k in args))
|
||||
Object.defineProperty(args, k, Object.getOwnPropertyDescriptor(extra, k));
|
||||
|
||||
Reference in new issue
Block a user