From af9699140373d3c4ae6f0ba354952581d9e09b96 Mon Sep 17 00:00:00 2001 From: Besmir Beqiri Date: Thu, 5 Oct 2023 10:50:39 +0200 Subject: [PATCH] Correct `deleteCache` script for Windows PowerShell --- deleteCache.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deleteCache.ps1 b/deleteCache.ps1 index 85263fda..caaedbac 100644 --- a/deleteCache.ps1 +++ b/deleteCache.ps1 @@ -1,3 +1,3 @@ -Get-Children -Path $env:USERPROFILE\.m2, $env:USERPROFILE\.gradle -Recurse | - Where-Object { $_.FullName -match 'one.jpro.platform' } | - ForEach-Object { Remove-Item -Path $_.FullName -Recurse -Force } +Get-ChildItem -Path $env:USERPROFILE\.m2, $env:USERPROFILE\.gradle -Recurse | + Where-Object { $_.FullName -match 'one.jpro.platform' } | + ForEach-Object { Remove-Item -Path $_.FullName -Recurse -Force }