mirror of
https://github.com/github/codeql-action.git
synced 2026-05-12 08:40:13 +00:00
Remove print debugging
This commit is contained in:
Generated
-2
@@ -24,7 +24,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.run = exports.tryUploadSarifIfRunFailed = void 0;
|
||||
const core = __importStar(require("@actions/core"));
|
||||
const actionsUtil = __importStar(require("./actions-util"));
|
||||
const api_client_1 = require("./api-client");
|
||||
const codeql_1 = require("./codeql");
|
||||
@@ -115,7 +114,6 @@ async function run(uploadDatabaseBundleDebugArtifact, uploadLogsDebugArtifact, p
|
||||
throw new Error("Expected to upload a failed SARIF file for this CodeQL code scanning run, " +
|
||||
`but the result was instead ${error}.`);
|
||||
}
|
||||
core.info(`GITHUB_ACTOR is ${process.env["GITHUB_ACTOR"]}`);
|
||||
// We do not delete uploaded SARIFs if we're on a fork, as we're missing the
|
||||
// appropriate permissions.
|
||||
if (process.env["CODEQL_ACTION_EXPECT_UPLOAD_FAILED_SARIF"] === "true" &&
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,3 @@
|
||||
import * as core from "@actions/core";
|
||||
|
||||
import * as actionsUtil from "./actions-util";
|
||||
import { getApiClient } from "./api-client";
|
||||
import { getCodeQL } from "./codeql";
|
||||
@@ -184,7 +182,6 @@ export async function run(
|
||||
);
|
||||
}
|
||||
|
||||
core.info(`GITHUB_ACTOR is ${process.env["GITHUB_ACTOR"]}`);
|
||||
// We do not delete uploaded SARIFs if we're on a fork, as we're missing the
|
||||
// appropriate permissions.
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user