mirror of
https://github.com/github/codeql-action.git
synced 2026-04-29 18:30:14 +00:00
Log when using OfflineFeatures for CCR
This commit is contained in:
@@ -811,6 +811,9 @@ export function initFeatures(
|
||||
logger: Logger,
|
||||
): FeatureEnablement {
|
||||
if (isCCR()) {
|
||||
logger.debug(
|
||||
"Querying feature flags is not currently supported in Copilot Code Review. Using offline data for all features.",
|
||||
);
|
||||
return new OfflineFeatures(logger);
|
||||
} else {
|
||||
return new Features(gitHubVersion, repositoryNwo, tempDir, logger);
|
||||
|
||||
Reference in New Issue
Block a user