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