.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / callsites / index.js
1 'use strict';
2
3 const callsites = () => {
4         const _prepareStackTrace = Error.prepareStackTrace;
5         Error.prepareStackTrace = (_, stack) => stack;
6         const stack = new Error().stack.slice(1);
7         Error.prepareStackTrace = _prepareStackTrace;
8         return stack;
9 };
10
11 module.exports = callsites;
12 // TODO: Remove this for the next major release
13 module.exports.default = callsites;