From 282dd6ab0928c96f1329596c9c4d1df2d94f3f89 Mon Sep 17 00:00:00 2001 From: Patrick Arminio Date: Tue, 14 Sep 2021 12:39:05 +0100 Subject: [PATCH] Make it clear that require is a custom wrapper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Happy to change the wording 😊 --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d9f82492..dec345bc 100644 --- a/README.md +++ b/README.md @@ -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