mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 03:47:58 +01:00
Purge unnecessary uses of args.string.
This commit is contained in:
@@ -1437,7 +1437,7 @@ const CommandLine = Module("commandline", {
|
||||
commands.add([command.name],
|
||||
command.description,
|
||||
function (args) {
|
||||
let str = CommandLine.echoArgumentToString(args.string, true);
|
||||
let str = CommandLine.echoArgumentToString(args[0], true);
|
||||
if (str != null)
|
||||
command.action(str);
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user