Update README.md

This commit is contained in:
Jonathan Clem 2020-07-17 10:25:55 -04:00 committed by GitHub
parent 62c8044fd6
commit 603dfa3ce2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: