Skip to content

Commit a42d38b

Browse files
authored
Remove unused method (#50017)
1 parent 76eb0ec commit a42d38b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Cli/dotnet/Commands/Run/RunCommand.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -467,20 +467,6 @@ static void InvokeRunArgumentsTarget(ProjectInstance project, bool noBuild, Faca
467467

468468
static readonly string ComputeRunArgumentsTarget = "ComputeRunArguments";
469469

470-
private static LoggerVerbosity ToLoggerVerbosity(VerbosityOptions? verbosity)
471-
{
472-
// map all cases of VerbosityOptions enum to the matching LoggerVerbosity enum
473-
return verbosity switch
474-
{
475-
VerbosityOptions.quiet | VerbosityOptions.q => LoggerVerbosity.Quiet,
476-
VerbosityOptions.minimal | VerbosityOptions.m => LoggerVerbosity.Minimal,
477-
VerbosityOptions.normal | VerbosityOptions.n => LoggerVerbosity.Normal,
478-
VerbosityOptions.detailed | VerbosityOptions.d => LoggerVerbosity.Detailed,
479-
VerbosityOptions.diagnostic | VerbosityOptions.diag => LoggerVerbosity.Diagnostic,
480-
_ => LoggerVerbosity.Quiet // default to quiet because run should be invisible if possible
481-
};
482-
}
483-
484470
private static void ThrowUnableToRunError(ProjectInstance project)
485471
{
486472
string targetFrameworks = project.GetPropertyValue("TargetFrameworks");

0 commit comments

Comments
 (0)