We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dee4ddb commit a9f0867Copy full SHA for a9f0867
csharp/autobuilder/Semmle.Autobuild/Autobuilder.cs
@@ -216,13 +216,12 @@ public int AttemptBuild()
216
217
void startCallback(string s, bool silent)
218
{
219
- if (!silent) Log(Severity.Info, $"\nRunning {s}");
+ Log(silent ? Severity.Debug : Severity.Info, $"\nRunning {s}");
220
}
221
222
void exitCallback(int ret, string msg, bool silent)
223
224
- if (!silent)
225
- Log(Severity.Info, $"Exit code {ret}{(string.IsNullOrEmpty(msg) ? "" : $": {msg}")}");
+ Log(silent ? Severity.Debug : Severity.Info, $"Exit code {ret}{(string.IsNullOrEmpty(msg) ? "" : $": {msg}")}");
226
227
228
return script.Run(Actions, startCallback, exitCallback);
0 commit comments