Skip to content

Commit

Permalink
Ignore Gradle caches
Browse files Browse the repository at this point in the history
  • Loading branch information
DVDAndroid committed Jun 13, 2020
1 parent 1ad4080 commit 9e23771
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

for issue in ET.parse(sys.argv[1]).getroot().iter('issue'):
file = ET.SubElement(checkstyle, 'file')

if '.gradle/caches' in issue[0].attrib['file']:
continue

file.attrib['name'] = issue[0].attrib['file'].replace(f'{RUNNER_WORKSPACE}/{REPO_NAME}/', '')

error = ET.SubElement(file, 'error')
Expand Down

0 comments on commit 9e23771

Please sign in to comment.