mirror of
https://github.com/actions/setup-python.git
synced 2025-06-28 21:53:47 +00:00
Clean up node_modules
This commit is contained in:
parent
b581dd4017
commit
145e800d1f
7184 changed files with 11271 additions and 1877650 deletions
41
node_modules/caller-callsite/readme.md
generated
vendored
41
node_modules/caller-callsite/readme.md
generated
vendored
|
@ -1,41 +0,0 @@
|
|||
# caller-callsite [](https://travis-ci.org/sindresorhus/caller-callsite)
|
||||
|
||||
> Get the [callsite](https://github.com/sindresorhus/callsites#api) of the caller function
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save caller-callsite
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
// foo.js
|
||||
const callerCallsite = require('caller-callsite');
|
||||
|
||||
module.exports = () => {
|
||||
console.log(callerCallsite().getFileName());
|
||||
//=> '/Users/sindresorhus/dev/unicorn/bar.js'
|
||||
}
|
||||
```
|
||||
|
||||
```js
|
||||
// bar.js
|
||||
const foo = require('./foo');
|
||||
foo();
|
||||
```
|
||||
|
||||
|
||||
## API
|
||||
|
||||
### callerCallsite()
|
||||
|
||||
Returns a [`callsite`](https://github.com/sindresorhus/callsites#api) object.
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue