mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	remove unnecessary logging from base64 node
This commit is contained in:
		@@ -35,7 +35,7 @@ module.exports = function(RED) {
 | 
				
			|||||||
                        node.send(msg);
 | 
					                        node.send(msg);
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    else {
 | 
					                    else {
 | 
				
			||||||
                        node.log("Not a Base64 string - maybe we should encode it...");
 | 
					                        //node.log("Not a Base64 string - maybe we should encode it...");
 | 
				
			||||||
                        msg.payload = (new Buffer(msg.payload,"binary")).toString('base64');
 | 
					                        msg.payload = (new Buffer(msg.payload,"binary")).toString('base64');
 | 
				
			||||||
                        node.send(msg);
 | 
					                        node.send(msg);
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    "name"          : "node-red-node-base64",
 | 
					    "name"          : "node-red-node-base64",
 | 
				
			||||||
    "version"       : "0.0.2",
 | 
					    "version"       : "0.0.3",
 | 
				
			||||||
    "description"   : "A Node-RED node to pack and unpack objects to base64 format",
 | 
					    "description"   : "A Node-RED node to pack and unpack objects to base64 format",
 | 
				
			||||||
    "dependencies"  : {
 | 
					    "dependencies"  : {
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user