Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
diekotto committed Nov 19, 2024
1 parent d0a7f42 commit 2678f42
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23843,12 +23843,27 @@ var require_github = __commonJS({
}
});

// src/errors.js
var require_errors2 = __commonJS({
"src/errors.js"(exports2, module2) {
function hasErrorStatus(error) {
return typeof error.status === "number";
}
function getErrorMessage(error) {
if (error instanceof Error) return error.message;
return String(error);
}
module2.exports = { hasErrorStatus, getErrorMessage };
}
});

// src/action.js
var require_action = __commonJS({
"src/action.js"(exports2, module2) {
var core = require_core();
var github = require_github();
var { inspect } = require("util");
var { getErrorMessage, hasErrorStatus } = require_errors2();
async function run2() {
try {
const token = core.getInput("token");
Expand Down

0 comments on commit 2678f42

Please sign in to comment.