Log error message when a non-existent path is specified.
This commit is contained in:
parent
8e7c717151
commit
cbeb09ebcb
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ namespace Build.Tasks
|
|||
if (String.IsNullOrEmpty(Path) ||
|
||||
System.IO.Directory.Exists(Path))
|
||||
{
|
||||
Log.LogError(String.Format("Path '{0}' does not exist.", Path));
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue