8000 Update README.md · MikhailTH/github-script@62c8044 · GitHub
[go: up one dir, main page]

Skip to content

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 files
authored
Update README.md
1 parent c19d6ba commit 62c8044

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines 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