Skip to content

Commit 5d31eec

Browse files
authored
Merge pull request actions#190 from patrick91/patch-1
Make it clear that require is a custom wrapper
2 parents f891eff + 282dd6a commit 5d31eec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,10 @@ module.exports = async ({github, context, core}) => {
304304

305305
### Use npm packages
306306

307-
Like importing your own files above, you can also use installed modules:
307+
Like importing your own files above, you can also use installed modules.
308+
Note that this is achieved with a wrapper on top `require`, so if you're
309+
trying to require a module inside your own file, you might need to import
310+
it externally or pass the `require` wrapper to your file:
308311

309312
```yaml
310313
on: push

0 commit comments

Comments
 (0)