Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 83107c8

Browse filesBrowse 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
Copy full SHA for 83107c8

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.