Skip to content

Commit

Permalink
Make it clear that require is a custom wrapper
Browse files Browse the repository at this point in the history
Happy to change the wording 馃槉
  • Loading branch information
patrick91 committed Sep 14, 2021
1 parent f891eff commit 282dd6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
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 282dd6a

Please sign in to comment.