Skip to content

Commit 83107c8

Browse files
authored
Merge pull request actions#67 from j-ulrich/j-ulrich-absolute-path-note
Adds note that absolute path is required
2 parents 1ba1e95 + 603dfa3 commit 83107c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ jobs:
203203
console.log(require(scriptPath)({context}))
204204
```
205205

206+
*Note that the script path given to `require()` must be an absolute path in this case, hence the call to `path.resolve()`.*
207+
206208
And then export a function from your module:
207209

208210
```javascript

0 commit comments

Comments
 (0)