Skip to content

Commit

Permalink
fix: clean working dir with long space support on Windows (janhq#2399)
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-jan authored Mar 17, 2024
1 parent 2596001 commit e74345e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/jan-electron-linter-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ jobs:
steps:
- name: Clean workspace
run: |
Remove-Item -Path .\* -Force -Recurse
Remove-Item -Path "\\?\$(Get-Location)\*" -Force -Recurse
$path = "$Env:APPDATA\jan"
if (Test-Path $path) {
Remove-Item $path -Recurse -Force
Remove-Item "\\?\$path" -Recurse -Force
} else {
Write-Output "Folder does not exist."
}
Expand Down

0 comments on commit e74345e

Please sign in to comment.