Log when using OfflineFeatures for CCR

This commit is contained in:
Michael B. Gale
2026-02-15 15:55:03 +00:00
parent 0874cf9f8b
commit 60dee3dbd3
8 changed files with 24 additions and 0 deletions
+3
View File
@@ -104354,6 +104354,9 @@ function supportsFeatureFlags(githubVariant) {
}
function initFeatures(gitHubVersion, repositoryNwo, tempDir, logger) {
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);