mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-22 10:37:59 +02:00
Initial pass
This commit is contained in:
commit
39c08a0eaa
7242 changed files with 1886006 additions and 0 deletions
34
node_modules/caller-path/readme.md
generated
vendored
Normal file
34
node_modules/caller-path/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
# caller-path [](https://travis-ci.org/sindresorhus/caller-path)
|
||||
|
||||
> Get the path of the caller function
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save caller-path
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
// foo.js
|
||||
const callerPath = require('caller-path');
|
||||
|
||||
module.exports = () => {
|
||||
console.log(callerPath());
|
||||
//=> '/Users/sindresorhus/dev/unicorn/bar.js'
|
||||
}
|
||||
```
|
||||
|
||||
```js
|
||||
// bar.js
|
||||
const foo = require('./foo');
|
||||
foo();
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue