mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-19 23:45:47 +01:00
Fix prefix in dump output.
This commit is contained in:
@@ -167,7 +167,7 @@ defineModule.dump = function dump_() {
|
||||
msg = util.objectToString(msg);
|
||||
return msg;
|
||||
}).join(", ");
|
||||
let name = loaded.services && loaded.config ? config.name.name : "dactyl";
|
||||
let name = loaded.config ? config.name : "dactyl";
|
||||
dump(String.replace(msg, /\n?$/, "\n")
|
||||
.replace(/^./gm, name + ": $&"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user