Remove repetitive tautological repetition in error messages: fix #617

This commit is contained in:
Oliver Blanthorn 2018-05-28 16:43:17 +01:00
parent 5322577e0f
commit b1211bdfae
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -56,9 +56,7 @@ export class Logger {
return browser.runtime.sendMessage({
type: "commandline_background",
command: "recvExStr",
args: [
"fillcmdline # Error: " + message.join(" "),
],
args: ["fillcmdline #" + message.join(" ")],
})
else
return browser.tabs.sendMessage(
@ -69,7 +67,7 @@ export class Logger {
{
type: "commandline_frame",
command: "fillcmdline",
args: ["# Error: " + message.join(" ")],
args: ["#" + message.join(" ")],
},
)
}