mirror of
https://github.com/actions/github-script.git
synced 2025-12-20 14:22:28 +00:00
Update README.md
This commit is contained in:
@@ -203,7 +203,7 @@ jobs:
|
|||||||
console.log(require(scriptPath)({context}))
|
console.log(require(scriptPath)({context}))
|
||||||
```
|
```
|
||||||
|
|
||||||
*(Note that the script path given to `require()` must be an absolute path in this case, hence the call to `path.resolve()`.)*
|
*Note that the script path given to `require()` must be an absolute path in this case, hence the call to `path.resolve()`.*
|
||||||
|
|
||||||
And then export a function from your module:
|
And then export a function from your module:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user