Skip to content

Commit

Permalink
Fix mis-accessing of util.inspect method
Browse files Browse the repository at this point in the history
This was pointed out by webpack 5 whilst doing the upgrade for #1184.
  • Loading branch information
lawrence-forooghian committed Apr 24, 2023
1 parent e98c53b commit ab2592f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/nodejs/lib/transport/nodecomettransport.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ var NodeCometTransport = function (connectionManager) {
var err = body.error && ErrorInfo.fromValues(body.error);
if (!err) {
err = new ErrorInfo(
'Error response received from server: ' + statusCode + ', body was: ' + Utils.inspect(body),
'Error response received from server: ' + statusCode + ', body was: ' + util.inspect(body),
null,
statusCode
);
Expand Down

0 comments on commit ab2592f

Please sign in to comment.