From a92a14621b7c8519b9c828f2f451076aaa2baf56 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 13 Mar 2023 12:45:15 +0000 Subject: [PATCH] Prefer `core.info` to `console.log` --- .github/workflows/__config-export.yml | 2 +- pr-checks/checks/config-export.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/__config-export.yml b/.github/workflows/__config-export.yml index 15ee99e0fa..e40764c0ed 100644 --- a/.github/workflows/__config-export.yml +++ b/.github/workflows/__config-export.yml @@ -83,7 +83,7 @@ jobs: core.setFailed(`\`queries\` property incorrect: expected ${JSON.stringify(expectedQueries)}, got ` + `${JSON.stringify(configSummary.queries)}.`); } - console.log('Finished config export tests.'); + core.info('Finished config export tests.'); env: CODEQL_ACTION_EXPORT_CODE_SCANNING_CONFIG: true CODEQL_PASS_CONFIG_TO_CLI: true diff --git a/pr-checks/checks/config-export.yml b/pr-checks/checks/config-export.yml index 4f7b8ef8dc..90bd1a38e9 100644 --- a/pr-checks/checks/config-export.yml +++ b/pr-checks/checks/config-export.yml @@ -46,4 +46,4 @@ steps: core.setFailed(`\`queries\` property incorrect: expected ${JSON.stringify(expectedQueries)}, got ` + `${JSON.stringify(configSummary.queries)}.`); } - console.log('Finished config export tests.'); + core.info('Finished config export tests.');