Skip to content

Commit c2eb2e9

Browse files
committed
Add more logging
1 parent a644133 commit c2eb2e9

File tree

2 files changed

+4
-1
lines changed
  • csharp/extractor
    • Semmle.Extraction.CSharp.DependencyFetching
    • Semmle.Extraction.CSharp.Standalone

2 files changed

+4
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ private IList<string> GetListed(string args, string artifact)
104104
public bool Exec(string execArgs)
105105
{
106106
var args = $"exec {execArgs}";
107-
return RunCommandSilently(args);
107+
//return RunCommandSilently(args);
108+
return RunCommand(args);
108109
}
109110
}
110111
}

csharp/extractor/Semmle.Extraction.CSharp.Standalone/Razor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ public IEnumerable<string> GenerateFiles(IEnumerable<string> cshtmls, IEnumerabl
6262
{
6363
GenerateAnalyzerConfig(cshtmls, analyzerConfig);
6464

65+
progressMonitor.LogInfo($"Analyzer config content: {File.ReadAllText(analyzerConfig)}");
66+
6567
var args = new StringBuilder();
6668
args.Append($"/target:exe /generatedfilesout:\"{outputFolder}\" /out:\"{dllPath}\" /analyzerconfig:\"{analyzerConfig}\" ");
6769

0 commit comments

Comments
 (0)