You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add check like that and allow passng options.filename, sometimes it is known, so you can detect in the stack and just return that line. So later you can just parse it to get line and column.
if(!filepath&&!options.filename){thrownewError('find-callsite: filepath cant be found, pass opts.filename')}filepath=filepath||options.filename
The text was updated successfully, but these errors were encountered:
Add check like that and allow passng
options.filename
, sometimes it is known, so you can detect in the stack and just return that line. So later you can just parse it to getline
andcolumn
.The text was updated successfully, but these errors were encountered: