We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f0f33f commit 6615605Copy full SHA for 6615605
nanoFirmwareFlasher.Tool/Program.cs
@@ -146,10 +146,13 @@ private static void CheckVersion()
146
}
147
catch (Exception)
148
{
149
- OutputWriter.ForegroundColor = ConsoleColor.DarkYellow;
150
- OutputWriter.WriteLine("** Can't check the version! **");
151
- OutputWriter.WriteLine("** Continuing anyway. **");
152
- OutputWriter.ForegroundColor = ConsoleColor.White;
+ if (_verbosityLevel > VerbosityLevel.Quiet)
+ {
+ OutputWriter.ForegroundColor = ConsoleColor.DarkYellow;
+ OutputWriter.WriteLine("** Can't check the version! **");
153
+ OutputWriter.WriteLine("** Continuing anyway. **");
154
+ OutputWriter.ForegroundColor = ConsoleColor.White;
155
+ }
156
157
158
0 commit comments