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