Files
zyt/TongjiUniApp/node_modules/licia/stackTrace.js
T
2026-10-22 11:12:16 +08:00

12 lines
271 B
JavaScript
Executable File

exports = function() {
var orig = Error.prepareStackTrace;
Error.prepareStackTrace = function(_, stack) {
return stack;
};
var stack = new Error().stack.slice(1);
Error.prepareStackTrace = orig;
return stack;
};
module.exports = exports;