diff --git a/CHANGELOG.md b/CHANGELOG.md index be0e4fd5..3626334a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Add test of match current week number on clock module with showWeek configuration. - Add test default modules present modules/default/defaultmodules.js. - Add unit test calendar_modules function capFirst. +- Add test for check if exists the directories present in defaults modules. - Add support for showing wind direction as an arrow instead of abbreviation in currentWeather module. - Add support for writing translation fucntions to support flexible word order - Add test for check if exits the directories present in defaults modules. diff --git a/installers/raspberry.sh b/installers/raspberry.sh index a76c1a9e..ecdcc842 100644 --- a/installers/raspberry.sh +++ b/installers/raspberry.sh @@ -150,8 +150,7 @@ fi # Use pm2 control like a service MagicMirror read -p "Do you want use pm2 for auto starting of your MagicMirror (y/n)?" choice -if [[ $choice =~ ^[Yy]$ ]] -then +if [[ $choice =~ ^[Yy]$ ]]; then sudo npm install -g pm2 sudo su -c "env PATH=$PATH:/usr/bin pm2 startup linux -u pi --hp /home/pi" pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json diff --git a/js/socketclient.js b/js/socketclient.js index 8ea468a8..baead68e 100644 --- a/js/socketclient.js +++ b/js/socketclient.js @@ -22,7 +22,6 @@ var MMSocket = function(moduleName) { // register catch all. self.socket.on("*", function(notification, payload) { if (notification !== "*") { - //console.log('Received notification: ' + notification +', payload: ' + payload); notificationCallback(notification, payload); } });