File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/Atc.CodingRules.Updater.CLI Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ private static string[] SetProjectPathFromDotArgumentIfNeeded(string[] args)
4242 {
4343 if ( "." . Equals ( s , StringComparison . Ordinal ) )
4444 {
45- if ( ! ( newArgs . Contains ( ArgumentCommandConstants . ShortProjectPath , StringComparer . OrdinalIgnoreCase ) ||
46- newArgs . Contains ( ArgumentCommandConstants . LongProjectPath , StringComparer . OrdinalIgnoreCase ) ) )
45+ if ( ! ( args . Contains ( ArgumentCommandConstants . ShortProjectPath , StringComparer . OrdinalIgnoreCase ) ||
46+ args . Contains ( ArgumentCommandConstants . LongProjectPath , StringComparer . OrdinalIgnoreCase ) ) )
4747 {
4848 newArgs . Add ( ArgumentCommandConstants . ShortProjectPath ) ;
4949 }
@@ -66,6 +66,12 @@ private static string[] SetProjectPathFromDotArgumentIfNeeded(string[] args)
6666 newArgs . Insert ( 0 , NameCommandConstants . Run ) ;
6767 }
6868
69+ if ( ! newArgs . Contains ( CommandConstants . ArgumentShortVerbose , StringComparer . OrdinalIgnoreCase ) ||
70+ ! newArgs . Contains ( CommandConstants . ArgumentLongVerbose , StringComparer . OrdinalIgnoreCase ) )
71+ {
72+ newArgs . Add ( CommandConstants . ArgumentShortVerbose ) ;
73+ }
74+
6975 return newArgs . ToArray ( ) ;
7076 }
7177
You can’t perform that action at this time.
0 commit comments