diff --git a/cachi2/core/resolver.py b/cachi2/core/resolver.py index 441e20bea..f4043c611 100644 --- a/cachi2/core/resolver.py +++ b/cachi2/core/resolver.py @@ -13,6 +13,7 @@ Handler = Callable[[Request], RequestOutput] _package_managers: dict[PackageManagerType, Handler] = { + "bundler": bundler.fetch_bundler_source, "gomod": gomod.fetch_gomod_source, "npm": npm.fetch_npm_source, "pip": pip.fetch_pip_source, @@ -22,7 +23,6 @@ # This is where we put package managers currently under development in order to # invoke them via CLI _dev_package_managers: dict[PackageManagerType, Handler] = { - "bundler": bundler.fetch_bundler_source, "rpm": rpm.fetch_rpm_source, "yarn-classic": yarn_classic.fetch_yarn_source, } diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py index 37e044cba..bbca9c853 100644 --- a/tests/unit/test_cli.py +++ b/tests/unit/test_cli.py @@ -83,7 +83,7 @@ def test_version_option(self) -> None: result = invoke_expecting_sucess(app, ["--version"]) lines = result.output.splitlines() assert lines[0] == f"cachi2 {expect_version}" - assert lines[1].startswith("Supported package managers: gomod") + assert lines[1].startswith("Supported package managers: bundler") @pytest.mark.parametrize( "file, file_text",