diff --git a/README.md b/README.md index 007a154..8e08984 100644 --- a/README.md +++ b/README.md @@ -203,6 +203,8 @@ jobs: 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()`.* + And then export a function from your module: ```javascript