diff --git a/buildMap.ps1 b/buildMap.ps1 index 60a09c7..2cbb13e 100644 --- a/buildMap.ps1 +++ b/buildMap.ps1 @@ -44,8 +44,8 @@ Set-Content ./map.md -Value @' $ret -replace '#', '##' -replace "\.md" -replace "/index" | Add-Content ./map.md -if (-not(Test-Path ./docs/map)) { - mkdir map | out-null +if (-not(Test-Path ./docs/map/)) { + mkdir ./docs/map/ | out-null } if (-not(Get-Command markmap -ErrorAction Ignore)) {