mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
C#: Changing logging of dotnet commands to Debug except for dotnet --info and friends.
This commit is contained in:
@@ -20,23 +20,23 @@ namespace Semmle.Extraction.Tests
|
||||
|
||||
public string Exec => "dotnet";
|
||||
|
||||
public bool RunCommand(string args)
|
||||
public bool RunCommand(string args, bool silent)
|
||||
{
|
||||
lastArgs = args;
|
||||
return Success;
|
||||
}
|
||||
|
||||
public bool RunCommand(string args, out IList<string> output)
|
||||
public bool RunCommand(string args, out IList<string> output, bool silent)
|
||||
{
|
||||
lastArgs = args;
|
||||
output = this.output;
|
||||
return Success;
|
||||
}
|
||||
|
||||
public bool RunCommand(string args, string? workingDirectory, out IList<string> output)
|
||||
public bool RunCommand(string args, string? workingDirectory, out IList<string> output, bool silent)
|
||||
{
|
||||
WorkingDirectory = workingDirectory ?? "";
|
||||
return RunCommand(args, out output);
|
||||
return RunCommand(args, out output, silent);
|
||||
}
|
||||
|
||||
public string GetLastArgs() => lastArgs;
|
||||
|
||||
Reference in New Issue
Block a user