File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,16 @@ static int VerifyArgumentsAndRun()
64
64
}
65
65
66
66
ConfigureLogging ( arguments ) ;
67
+
68
+ if ( ! Directory . Exists ( arguments . TargetPath ) )
69
+ {
70
+ Logger . WriteWarning ( string . Format ( "The working directory '{0}' does not exist." , arguments . TargetPath ) ) ;
71
+ }
72
+ else
73
+ {
74
+ Logger . WriteInfo ( "Working directory: " + arguments . TargetPath ) ;
75
+ }
76
+
67
77
if ( arguments . Init )
68
78
{
69
79
ConfigurationProvider . Init ( arguments . TargetPath , fileSystem , new ConsoleAdapter ( ) ) ;
@@ -80,8 +90,6 @@ static int VerifyArgumentsAndRun()
80
90
arguments . Output = OutputType . BuildServer ;
81
91
}
82
92
83
- Logger . WriteInfo ( "Working directory: " + arguments . TargetPath ) ;
84
-
85
93
SpecifiedArgumentRunner . Run ( arguments , fileSystem ) ;
86
94
}
87
95
catch ( WarningException exception )
You can’t perform that action at this time.
0 commit comments