Skip to content

Commit be20394

Browse files
committed
Rename to usesDefaultQueriesOnly
1 parent d1c255c commit be20394

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/init-action.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/config-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,12 +692,12 @@ async function checkOverlayAnalysisFeatureEnabled(
692692
// A code-scanning configuration runs only the (default) code-scanning suite
693693
// if the default queries are not disabled, and no packs, queries, or
694694
// query-filters are specified.
695-
const isCodeScanningOnly =
695+
const usesDefaultQueriesOnly =
696696
codeScanningConfig["disable-default-queries"] !== true &&
697697
codeScanningConfig.packs === undefined &&
698698
codeScanningConfig.queries === undefined &&
699699
codeScanningConfig["query-filters"] === undefined;
700-
if (!isCodeScanningOnly) {
700+
if (!usesDefaultQueriesOnly) {
701701
return {
702702
enabled: false,
703703
reason: OverlayDisabledReason.NonDefaultQueries,

0 commit comments

Comments
 (0)