Skip to content

Commit

Permalink
Update AzureCommentReporter.py (#2301)
Browse files Browse the repository at this point in the history
Should fix issue #2300
  • Loading branch information
EtienneDeneuve authored Jan 30, 2023
1 parent 40631ba commit fb2fe2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions megalinter/reporters/AzureCommentReporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- BUILD_REPOSITORY_ID
"""
import logging

import urllib.parse
import requests
from megalinter import Reporter, config
from megalinter.utils_reporter import build_markdown_summary
Expand Down Expand Up @@ -42,7 +42,7 @@ def produce_report(self):
+ "See https://docs.microsoft.com/en-US/azure/devops/repos/git/"
+ "branch-policies?view=azure-devops&tabs=browser#build-validation"
)
SYSTEM_TEAMPROJECT = config.get("SYSTEM_TEAMPROJECT")
SYSTEM_TEAMPROJECT = urllib.parse.quote(config.get("SYSTEM_TEAMPROJECT"))
BUILD_REPOSITORY_ID = config.get("BUILD_REPOSITORY_ID")
BUILD_BUILD_ID = config.get("BUILD_BUILD_ID")
AZURE_COMMENT_REPORTER_LINKS_TYPE = config.get(
Expand Down

0 comments on commit fb2fe2e

Please sign in to comment.