5 lines
121 B
JavaScript
Raw Normal View History

2021-02-11 21:31:41 +08:00
'use strict';
const callerCallsite = require('caller-callsite');
module.exports = () => callerCallsite().getFileName();