Remove print debugging

This commit is contained in:
Angela P Wen
2024-01-12 16:07:29 -08:00
parent a6427b3267
commit 30f279ce08
3 changed files with 1 additions and 6 deletions
-2
View File
@@ -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
-3
View File
@@ -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 (