Skip to content

Commit bcb2ba2

Browse files
committed
Merge branch 'main' of https://github.com/nanoframework/nf-interpreter into develop
***NO_CI***
2 parents 8794f6e + 51a1fc5 commit bcb2ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines-templates/check-code-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ steps:
5252
"Working branch is $branchName" | Write-Host -ForegroundColor White
5353
5454
# list PR files
55-
$prFiles = Invoke-WebRequest "https://api.github.com/repos/$env:Build_Repository_Name/pulls/$env:System_PullRequest_PullRequestNumber/files" | ConvertFrom-Json
55+
$prFiles = Invoke-RestMethod -Uri "https://api.github.com/repos/$env:Build_Repository_Name/pulls/$env:System_PullRequest_PullRequestNumber/files" -Header @{"Authorization"="$auth"} -ContentType "application/json" -Method GET
5656
5757
"Starting file check..." | Write-Host -ForegroundColor White
5858

0 commit comments

Comments
 (0)