From bbce36eb4fdb17b92f89a16ac3c3b06c4ec11bff Mon Sep 17 00:00:00 2001 From: Couleur <82747632+couleurm@users.noreply.github.com> Date: Sun, 25 Feb 2024 00:22:38 +0100 Subject: [PATCH] fix map path --- buildMap.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) {