From db1a4b341d289139b5c046052468814b7e32fccf Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Mon, 26 Sep 2022 11:33:54 +0200 Subject: [PATCH] chore: add generate content --- dist/post_run/index.js | 5 +++-- dist/run/index.js | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dist/post_run/index.js b/dist/post_run/index.js index 3a524d2..60e5082 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -3744,8 +3744,9 @@ exports.context = new Context.Context(); * @param token the repo PAT or GITHUB_TOKEN * @param options other options to set */ -function getOctokit(token, options) { - return new utils_1.GitHub(utils_1.getOctokitOptions(token, options)); +function getOctokit(token, options, ...additionalPlugins) { + const GitHubWithPlugins = utils_1.GitHub.plugin(...additionalPlugins); + return new GitHubWithPlugins(utils_1.getOctokitOptions(token, options)); } exports.getOctokit = getOctokit; //# sourceMappingURL=github.js.map diff --git a/dist/run/index.js b/dist/run/index.js index 37d4ef8..b403f66 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -3744,8 +3744,9 @@ exports.context = new Context.Context(); * @param token the repo PAT or GITHUB_TOKEN * @param options other options to set */ -function getOctokit(token, options) { - return new utils_1.GitHub(utils_1.getOctokitOptions(token, options)); +function getOctokit(token, options, ...additionalPlugins) { + const GitHubWithPlugins = utils_1.GitHub.plugin(...additionalPlugins); + return new GitHubWithPlugins(utils_1.getOctokitOptions(token, options)); } exports.getOctokit = getOctokit; //# sourceMappingURL=github.js.map