[Pkg-mozext-commits] [tabmixplus] 05/56: Add new line at the end of all log messages

David Prévot taffit at moszumanska.debian.org
Mon Jun 6 00:02:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit f635863f54da3f14befa14af96dd442b53c02865
Author: onemen <tabmix.onemen at gmail.com>
Date:   Tue Apr 26 18:21:54 2016 +0300

    Add new line at the end of all log messages
---
 modules/log.jsm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/log.jsm b/modules/log.jsm
index 660b725..3c81f6c 100644
--- a/modules/log.jsm
+++ b/modules/log.jsm
@@ -327,7 +327,7 @@ options = {
   },
 
   _logMessage: function _logMessage(msg, flag = "infoFlag", caller = null) {
-    msg = msg.replace(/\r\n/g, "\n");
+    msg = msg.replace(/\r\n/g, "\n") + "\n";
     if (typeof Ci.nsIScriptError[flag] == "undefined") {
       Services.console.logStringMessage("Tabmix" + msg);
       return;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list