mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Fix typo
This commit is contained in:
@ -10,7 +10,7 @@ if ($IsLinux) {
|
||||
} else {
|
||||
$TargetDir = resolve-path "C:/"
|
||||
}
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user