mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 00:37:58 +01:00
Properly quote strings.
This commit is contained in:
@@ -986,7 +986,7 @@ const Commands = Module("commands", {
|
||||
var completer = liberator.eval(completeOpt);
|
||||
|
||||
if (!(completer instanceof Function))
|
||||
throw new TypeError("User-defined custom completer '" + completeOpt + "' is not a function");
|
||||
throw new TypeError("User-defined custom completer " + completeOpt.quote() + " is not a function");
|
||||
}
|
||||
catch (e) {
|
||||
liberator.echo(":" + this.name + " ...");
|
||||
|
||||
Reference in New Issue
Block a user