Merge pull request #190 from patrick91/patch-1

Make it clear that require is a custom wrapper
This commit is contained in:
Josh Gross 2021-09-14 11:25:52 -04:00 committed by GitHub
commit 5d31eecbde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -304,7 +304,10 @@ module.exports = async ({github, context, core}) => {
### Use npm packages ### Use npm packages
Like importing your own files above, you can also use installed modules: Like importing your own files above, you can also use installed modules.
Note that this is achieved with a wrapper on top `require`, so if you're
trying to require a module inside your own file, you might need to import
it externally or pass the `require` wrapper to your file:
```yaml ```yaml
on: push on: push