first
This commit is contained in:
14
node_modules/@hapi/hoek/lib/stringify.js
generated
vendored
Normal file
14
node_modules/@hapi/hoek/lib/stringify.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
const internals = {};
|
||||
|
||||
|
||||
module.exports = function (...args) {
|
||||
|
||||
try {
|
||||
return JSON.stringify(...args);
|
||||
}
|
||||
catch (err) {
|
||||
return '[Cannot display object: ' + err.message + ']';
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user