Skip to content

Commit

Permalink
Generate new bundle.
Browse files Browse the repository at this point in the history
- Disable sourcemaps.
  • Loading branch information
Codex- committed Nov 7, 2022
1 parent d2a5924 commit dc1049b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
5 changes: 3 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15294,7 +15294,7 @@ var path = require("node:path");
(async () => {
try {
const inputPath = core.getInput("path");
const numFailures = core.getInput("numFailures");
const numFailures = parseInt(core.getInput("numFailures"));
const accessToken = core.getInput("access-token");
const name = core.getInput("name");
const globber = await glob.create(inputPath, {
Expand All @@ -15321,7 +15321,6 @@ var path = require("node:path");
const conclusion = testSummary.annotations.length === 0 ? "success" : "failure";
testSummary.annotations = [annotation, ...testSummary.annotations];
const pullRequest = github.context.payload.pull_request;
const link = pullRequest && pullRequest.html_url || github.context.ref;
const status = "completed";
const head_sha = pullRequest && pullRequest.head.sha || github.context.sha;
const annotations = testSummary.annotations;
Expand All @@ -15340,6 +15339,8 @@ var path = require("node:path");
const octokit = github.getOctokit(accessToken);
await octokit.rest.checks.create(createCheckRequest);
} catch (error) {
console.error(error.message);
console.error(error.stack);
core.setFailed(error.message);
}
})();
Expand Down
7 changes: 0 additions & 7 deletions dist/index.js.map

This file was deleted.

1 change: 0 additions & 1 deletion esbuild.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { analyzeMetafile, build } from "esbuild";
platform: "node",
target: ["node16"],
format: "cjs",
sourcemap: "external",
treeShaking: true,
});

Expand Down

0 comments on commit dc1049b

Please sign in to comment.