Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 282dd6a

Browse files
authored
Make it clear that require is a custom wrapper
Happy to change the wording 😊
1 parent f891eff commit 282dd6a

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)