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 62c8044

Browse filesBrowse files
authored
Update README.md
1 parent c19d6ba commit 62c8044
Copy full SHA for 62c8044

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ jobs:
202202
const scriptPath = path.resolve('./path/to/script.js')
203203
console.log(require(scriptPath)({context}))
204204
```
205-
_(Note that the script path given to `require()` must be an absolute path in this case.)_
205+
206+
*(Note that the script path given to `require()` must be an absolute path in this case, hence the call to `path.resolve()`.)*
206207

207208
And then export a function from your module:
208209

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.