Skip to content

Commit

Permalink
remove timestamp from node-red log
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Apr 29, 2018
1 parent 8e49474 commit 8aa5a4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ echo "adapt Node-RED..."
rm -r $ADDON_TMP/node-red/node_modules/node-red/nodes/core/hardware
#mv $ADDON_TMP/node-red/node_modules/node-red/red/runtime/nodes/registry/installer.js $ADDON_TMP/node-red/node_modules/node-red/red/runtime/nodes/registry/installer.js.orig
#sed "s/var npmCommand =.*/var npmCommand = '\/usr\/local\/addons\/node-red\/bin\/npm';/" $ADDON_TMP/node-red/node_modules/node-red/red/runtime/nodes/registry/installer.js.orig > $ADDON_TMP/node-red/node_modules/node-red/red/runtime/nodes/registry/installer.js
mv $ADDON_TMP/node-red/node_modules/node-red/red/runtime/log.js $ADDON_TMP/node-red/node_modules/node-red/red/runtime/log.js.orig
sed "s/util\.log/console.log/g" $ADDON_TMP/node-red/node_modules/node-red/red/runtime/log.js.orig > $ADDON_TMP/node-red/node_modules/node-red/red/runtime/log.js



echo "moving node modules to lib dir..."
cp -r $ADDON_TMP/node-red/node_modules $ADDON_TMP/node-red/lib/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ccu-addon-node-red",
"version": "0.0.5",
"version": "0.0.6",
"description": "Node-RED packaged as Homematic CCU addon",
"repository": "github:hobbyquaker/ccu-addon-node-red",
"private": true,
Expand Down

0 comments on commit 8aa5a4d

Please sign in to comment.