C#: Fix quality issues

This commit is contained in:
Tamas Vajk
2024-06-28 11:09:40 +02:00
parent 1cf5e89b96
commit 199a9688af
47 changed files with 79 additions and 85 deletions

View File

@@ -58,13 +58,13 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
return true;
}
public bool RunCommand(string args, bool silent) =>
public bool RunCommand(string args, bool silent = true) =>
RunCommandAux(args, null, out _, silent);
public bool RunCommand(string args, out IList<string> output, bool silent) =>
public bool RunCommand(string args, out IList<string> output, bool silent = true) =>
RunCommandAux(args, null, out output, silent);
public bool RunCommand(string args, string? workingDirectory, out IList<string> output, bool silent) =>
public bool RunCommand(string args, string? workingDirectory, out IList<string> output, bool silent = true) =>
RunCommandAux(args, workingDirectory, out output, silent);
}
}