Skip to content

Commit

Permalink
Changing index
Browse files Browse the repository at this point in the history
  • Loading branch information
luk-schweizer committed Mar 9, 2021
1 parent c641b35 commit 7b2b899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,7 @@ module.exports = {
const action = __nccwpck_require__(4582);
const core = __nccwpck_require__(2186);

async function run() {
return action.run;
}
run().catch((err) => core.setFailed(err.message));
action.run().catch((err) => core.setFailed(err.message));


/***/ }),
Expand Down
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
const action = require('./action');
const core = require('@actions/core');

async function run() {
return action.run;
}
run().catch((err) => core.setFailed(err.message));
action.run().catch((err) => core.setFailed(err.message));

0 comments on commit 7b2b899

Please sign in to comment.