Explorar el Código

fix inverse logic in verbose mode ./dot.ps1

Daniel Sheffield hace 2 semanas
padre
commit
a2c060cdc3
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      park.ps1

+ 1 - 2
park.ps1

@@ -86,10 +86,9 @@ if ($Stow -or $Restow) {
                 if (-not $Simulate) {
                     throw "Path '$targetDir' exists but is not a directory."
                 }
-            } else {
-                Write-Verbose "Creating dir: $targetDir"
             }
         } else {
+            Write-Verbose "Creating dir: $targetDir"
             if (-not $Simulate) {
                 New-Item -ItemType Directory -Path $targetDir -Force | Out-Null
             }