diff --git a/build/Build.cs b/build/Build.cs index 9e7bf91..f88b134 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -47,12 +47,11 @@ sealed class Build : NukeBuild .DependsOn(Restore) .Executes(() => { - if (!SupportsDocker) + if (SupportsDocker) { - return; + DockerTasks.DockerStackRm(settings => settings.SetStacks("continuity")); } - DockerTasks.DockerStackRm(settings => settings.SetStacks("continuity")); DotNetTasks.DotNetBuild(settings => settings.SetNoRestore(true)); });