Improve warning of the cd-* scripts

This commit is contained in:
Markus Fleschutz
2021-05-02 11:51:41 +02:00
parent 042f45439d
commit 2f53d5c1d6
17 changed files with 20 additions and 16 deletions

View File

@ -11,7 +11,7 @@ if ($IsLinux) {
$TargetDir = resolve-path "C:/"
}
if (-not(test-path "$TargetDir" -pathType container)) {
write-warning "Sorry, directory 📂$TargetDir is missing"
write-warning "Sorry, there is no folder 📂$TargetDir (yet)"
exit 1
}
set-location "$TargetDir"