Issue Fix

This commit is contained in:
raghaves 2020-06-13 13:09:55 +05:30
parent 0439767fe5
commit bb74f7f5e5

View file

@ -38,7 +38,7 @@ jobs:
foreach ($j in $coverage_result) foreach ($j in $coverage_result)
{ {
if ($j.tostring().startswith("--------------")) if ($j.tostring().startswith("----------"))
{ {
if (!$start) if (!$start)
{ {
@ -63,7 +63,6 @@ jobs:
$comment = $tbl_md + "\n" + $summary $comment = $tbl_md + "\n" + $summary
echo ">>: { `"body`": `"${comment}`" }" echo ">>: { `"body`": `"${comment}`" }"
$url = "https://api.github.com/repos/${env:GITHUB_REPOSITORY}/issues/${env:PR_NUMBER}/comments" $url = "https://api.github.com/repos/${env:GITHUB_REPOSITORY}/issues/${env:PR_NUMBER}/comments"
echo "url>> ${url}"
$headers = @{ $headers = @{
"Authorization" = "token ${env:GITHUB_TOKEN}" "Authorization" = "token ${env:GITHUB_TOKEN}"
} }