mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 07:28:08 +03:00
use new-item to not conflict mkdir on macos
This commit is contained in:
parent
b0853cb3bb
commit
44fa354c18
@ -49,7 +49,7 @@ steps:
|
||||
|
||||
# Crash Reports
|
||||
- pwsh: |
|
||||
mkdir -f -p $env:ARTIFACT_STAGING_DIR/crash-reports
|
||||
New-Item -Path $env:ARTIFACT_STAGING_DIR/crash-reports -Type Directory -Force
|
||||
if (($env:AGENT_OS -eq "Windows_NT") -and (Test-Path "$env:TEMP/Atom Crashes")) {
|
||||
cp "$env:TEMP/Atom Crashes/*.dmp" $env:ARTIFACT_STAGING_DIR/crash-reports
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user