Don't delete artifact dir if it's null
This commit is contained in:
@@ -18,7 +18,8 @@ internal static class Build
|
||||
{
|
||||
var projectPath = Path.Combine("src", "Twain.Web", "Twain.Web.csproj");
|
||||
|
||||
DeleteDirectory(artifactDirOption.Value);
|
||||
if (artifactDirOption?.Value != null)
|
||||
DeleteDirectory(artifactDirOption.Value);
|
||||
|
||||
RunDotNet(new[]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user