From d16ead3bb0bbcd9a5874a8b2e99db278eec591dd Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Mon, 15 Apr 2024 16:34:13 -0700 Subject: [PATCH] fix: referring to mix package key as hex. fixes #70 Signed-off-by: Zack Koppert --- dependabot_file.py | 4 ++-- test_dependabot_file.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dependabot_file.py b/dependabot_file.py index 2512b48..3585735 100644 --- a/dependabot_file.py +++ b/dependabot_file.py @@ -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: @@ -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 diff --git a/test_dependabot_file.py b/test_dependabot_file.py index ef1c4ca..7bb6bb8 100644 --- a/test_dependabot_file.py +++ b/test_dependabot_file.py @@ -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'