mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 05:04:39 +02:00
Improve warning of the cd-* scripts
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user