Skip to content

Commit

Permalink
Use linux temp path on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Mar 14, 2024
1 parent fea9485 commit 6ee54ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PwshSpectreConsole.Docs/src/powershell/UpdateDocs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ $env:GIT_COMMITTER_EMAIL = '[email protected]'
$outputPath = "$PSScriptRoot\..\content\docs\reference\"
$asciiCastOutputPath = "$PSScriptRoot\..\assets\examples\"
$stagingPath = "$env:TEMP\refs-staging"
if($IsLinux) {
$env:TEMP = "/tmp/refs-staging"
}
if(Test-Path $stagingPath) {
Remove-Item $stagingPath -Force -Recurse
}
Expand Down

0 comments on commit 6ee54ce

Please sign in to comment.