Skip to content

Commit

Permalink
Merge pull request #96 from github/hex-mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zkoppert authored Apr 16, 2024
2 parents b37df82 + d16ead3 commit a1fe712
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dependabot_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def build_dependabot_file(repo, group_dependencies, exempt_ecosystems) -> str |
):
compatible_package_manager_found = True
hex_found = True
dependabot_file += make_dependabot_config("hex", group_dependencies)
dependabot_file += make_dependabot_config("mix", group_dependencies)
except github3.exceptions.NotFoundError:
pass
try:
Expand All @@ -245,7 +245,7 @@ def build_dependabot_file(repo, group_dependencies, exempt_ecosystems) -> str |
):
compatible_package_manager_found = True
hex_found = True
dependabot_file += make_dependabot_config("hex", group_dependencies)
dependabot_file += make_dependabot_config("mix", group_dependencies)
except github3.exceptions.NotFoundError:
pass

Expand Down
2 changes: 1 addition & 1 deletion test_dependabot_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def test_build_dependabot_file_with_hex(self):
expected_result = """---
version: 2
updates:
- package-ecosystem: 'hex'
- package-ecosystem: 'mix'
directory: '/'
schedule:
interval: 'weekly'
Expand Down

0 comments on commit a1fe712

Please sign in to comment.