1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

update inspect to come from correct package (util)

(works from v0.10 onwards - but now deprecated in v4)
This commit is contained in:
Dave Conway-Jones 2015-10-09 13:36:35 +01:00
parent 8abd0b1fdf
commit 6d84b1bb8d
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
module.exports = function(RED) {
"use strict";
var ws = require("ws");
var inspect = require("sys").inspect;
var inspect = require("util").inspect;
// A node red node that sets up a local websocket server
function WebSocketListenerNode(n) {

View File

@ -16,7 +16,7 @@
var util = require("util");
var mqtt = require("mqtt");
var events = require("events");
//var inspect = require("sys").inspect;
//var inspect = require("util").inspect;
//var Client = module.exports.Client = function(