Skip to content

Commit b996f7b

Browse files
committed
Change environment variable for opt-out web view extraction
1 parent 8f0f696 commit b996f7b

File tree

2 files changed

+2
-2
lines changed
  • csharp
    • extractor/Semmle.Extraction.CSharp.DependencyFetching
    • ql/integration-tests/all-platforms/cshtml_standalone_disabled

2 files changed

+2
-2
lines changed

csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DependencyManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public DependencyManager(string srcDir, IDependencyOptions options, ILogger logg
111111
logger.LogInfo($"Unresolved reference {r.Key} in project {r.Value}");
112112
}
113113

114-
var webViewExtractionOption = Environment.GetEnvironmentVariable("CODEQL_EXTRACTOR_CSHARP_STANDALONE_EXTRACT_WEB_VIEWS");
114+
var webViewExtractionOption = Environment.GetEnvironmentVariable("CODEQL_EXTRACTOR_CSHARP_BUILDLESS_EXTRACT_WEB_VIEWS");
115115
if (webViewExtractionOption == null ||
116116
bool.TryParse(webViewExtractionOption, out var shouldExtractWebViews) &&
117117
shouldExtractWebViews)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import os
22
from create_database_utils import *
33

4-
os.environ['CODEQL_EXTRACTOR_CSHARP_STANDALONE_EXTRACT_WEB_VIEWS'] = 'false'
4+
os.environ['CODEQL_EXTRACTOR_CSHARP_BUILDLESS_EXTRACT_WEB_VIEWS'] = 'false'
55
run_codeql_database_create(lang="csharp", extra_args=["--extractor-option=buildless=true"])

0 commit comments

Comments
 (0)