Skip to content

Commit

Permalink
Merge pull request #25 from flcdrg/fix-mkdir
Browse files Browse the repository at this point in the history
Allow creating directory to work cross-platform
  • Loading branch information
ebekker authored Jun 1, 2021
2 parents b6f063e + 5fe3003 commit ce730c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions action.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ Write-ActionInfo "Resolved tmpDir as [$tmpDir]"
$test_results_path = $inputs.test_results_path
$test_report_path = Join-Path $tmpDir test-results.md

#New-Item -Name $tmpDir -ItemType "directory" -Force
mkdir $tmpDir -Force
New-Item -Name $tmpDir -ItemType Directory -Force -ErrorAction Ignore

function Build-MarkdownReport {
$script:report_name = $inputs.report_name
Expand Down

0 comments on commit ce730c0

Please sign in to comment.