setup-php/node_modules/callsites/index.js
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

9 lines
214 B
JavaScript

'use strict';
module.exports = () => {
const _ = Error.prepareStackTrace;
Error.prepareStackTrace = (_, stack) => stack;
const stack = new Error().stack.slice(1);
Error.prepareStackTrace = _;
return stack;
};