mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
PR-URL: https://github.com/nodejs/node/pull/6132 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
7 lines
125 B
JavaScript
7 lines
125 B
JavaScript
'use strict';
|
|
var callsites = require('callsites');
|
|
|
|
module.exports = function () {
|
|
return callsites()[2].getFileName();
|
|
};
|