summaryrefslogtreecommitdiff
path: root/_site/get.ps1
diff options
context:
space:
mode:
authorDESKTOP-RBH716R\Admin2022-07-27 17:16:09 +0000
committerDESKTOP-RBH716R\Admin2022-07-27 17:16:09 +0000
commita71e142fbcda61fb843ea98356af6de4ce247cc4 (patch)
tree748fdc3ccb7a548efad0a8e3c7137cfc178eaac2 /_site/get.ps1
parentf268429d2171d49d931dbd21c486928e1d667416 (diff)
downloadmassgrave.dev-a71e142fbcda61fb843ea98356af6de4ce247cc4.zip
Fix accent character issue in Path
Diffstat (limited to '_site/get.ps1')
-rw-r--r--_site/get.ps15
1 files changed, 3 insertions, 2 deletions
diff --git a/_site/get.ps1 b/_site/get.ps1
index 6915aab..60b61a5 100644
--- a/_site/get.ps1
+++ b/_site/get.ps1
@@ -12,7 +12,8 @@ try {
Return
}
-if (Test-Path -LiteralPath $FilePath) {
+if (Test-Path $FilePath) {
Start-Process $FilePath -Wait
- Remove-Item -LiteralPath $FilePath -Force
+ $item = Get-Item -LiteralPath $FilePath
+ $item.Delete()
}