mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-23 06:08:36 +01:00
Fix typo
This commit is contained in:
parent
855251d922
commit
1a9fdfb337
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$HOME/Desktop"
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$HOME/Documents"
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$HOME/Downloads"
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$HOME/Dropbox"
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$HOME"
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$HOME/Music"
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$HOME/OneDrive"
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$HOME/Pictures"
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$HOME/Repos"
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$PSScriptRoot"
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path ".."
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "../.."
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "../../.."
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "../../../.."
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
#>
|
||||
|
||||
$TargetDir = resolve-path "$HOME/Videos"
|
||||
if (-not(test-path "$TargetDir" -pathType leaf)) {
|
||||
if (-not(test-path "$TargetDir" -pathType container)) {
|
||||
write-warning "Sorry, directory 📂$TargetDir is missing"
|
||||
exit 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user