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