Skip to content

Commit

Permalink
Merge pull request #190 from patrick91/patch-1
Browse files Browse the repository at this point in the history
Make it clear that require is a custom wrapper
  • Loading branch information
joshmgross committed Sep 14, 2021
2 parents f891eff + 282dd6a commit 5d31eec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -304,7 +304,10 @@ module.exports = async ({github, context, core}) => {

### 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
on: push
Expand Down

0 comments on commit 5d31eec

Please sign in to comment.