Skip to content

Commit 44fa354

Browse files
committed
use new-item to not conflict mkdir on macos
1 parent b0853cb commit 44fa354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/vsts/platforms/templates/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ steps:
4949

5050
# Crash Reports
5151
- pwsh: |
52-
mkdir -f -p $env:ARTIFACT_STAGING_DIR/crash-reports
52+
New-Item -Path $env:ARTIFACT_STAGING_DIR/crash-reports -Type Directory -Force
5353
if (($env:AGENT_OS -eq "Windows_NT") -and (Test-Path "$env:TEMP/Atom Crashes")) {
5454
cp "$env:TEMP/Atom Crashes/*.dmp" $env:ARTIFACT_STAGING_DIR/crash-reports
5555
} else {

0 commit comments

Comments
 (0)