Remove dead guard for GHES 3.0
This commit is contained in:
parent
c719ec0b33
commit
39fe7aa8a1
12 changed files with 112 additions and 201 deletions
4
lib/upload-sarif-action.js
generated
4
lib/upload-sarif-action.js
generated
|
|
@ -21,7 +21,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const core = __importStar(require("@actions/core"));
|
||||
const actionsUtil = __importStar(require("./actions-util"));
|
||||
const api_client_1 = require("./api-client");
|
||||
const logging_1 = require("./logging");
|
||||
const repository_1 = require("./repository");
|
||||
const upload_lib = __importStar(require("./upload-lib"));
|
||||
|
|
@ -44,8 +43,7 @@ async function run() {
|
|||
return;
|
||||
}
|
||||
try {
|
||||
const gitHubVersion = await (0, api_client_1.getGitHubVersion)();
|
||||
const uploadResult = await upload_lib.uploadFromActions(actionsUtil.getRequiredInput("sarif_file"), gitHubVersion, (0, logging_1.getActionsLogger)());
|
||||
const uploadResult = await upload_lib.uploadFromActions(actionsUtil.getRequiredInput("sarif_file"), (0, logging_1.getActionsLogger)());
|
||||
core.setOutput("sarif-id", uploadResult.sarifID);
|
||||
// We don't upload results in test mode, so don't wait for processing
|
||||
if ((0, util_1.isInTestMode)()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue