From 500f1558ce1d1c46550a88bb8eeaba388eff9d5c Mon Sep 17 00:00:00 2001 From: Rob Porter Date: Mon, 22 Mar 2021 12:15:39 -0400 Subject: [PATCH] Fix based on the correct docs --- action.js | 4 ++-- dist/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/action.js b/action.js index ff98765..fb37b83 100644 --- a/action.js +++ b/action.js @@ -1,9 +1,9 @@ // Require the adapter -const adapt = require('@probot/adapter-github-actions'); +const { run } = require('@probot/adapter-github-actions'); // Require your Probot app's entrypoint, usually this is just index.js const probot = require('./index'); // Adapt the Probot app for Actions // This also acts as the main entrypoint for the Action -adapt(probot); \ No newline at end of file +run(probot); \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 3e19ad2..aadbb58 100644 --- a/dist/index.js +++ b/dist/index.js @@ -64372,14 +64372,14 @@ module.exports = [["a140","",62],["a180","",32],["a240","",62],["a280", /***/ (function(__unusedmodule, __unusedexports, __webpack_require__) { // Require the adapter -const adapt = __webpack_require__(295); +const { run } = __webpack_require__(295); // Require your Probot app's entrypoint, usually this is just index.js const probot = __webpack_require__(947); // Adapt the Probot app for Actions // This also acts as the main entrypoint for the Action -adapt(probot); +run(probot); /***/ }), /* 752 */,