From 2e29dd3fba791cbc93874bd7130f60b35acb08ea Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 4 Aug 2020 15:17:13 +0800 Subject: [PATCH] chore: expose `module` to userscript --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 24b74f3..a6b5425 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,7 +28,7 @@ async function main(): Promise { // Using property/value shorthand on `require` (e.g. `{require}`) causes compilation errors. const result = await callAsyncFunction( - {require: require, github, context, core, io}, + {require: require, module: module, github, context, core, io}, script )