lib/git/lint/commits/container.rb in git-lint-3.3.0 vs lib/git/lint/commits/container.rb in git-lint-3.3.1
- old
+ new
@@ -8,12 +8,14 @@
module Commits
# Provides container specific to this namespace for all systems.
module Container
extend Dry::Container::Mixin
- register(:repository) { GitPlus::Repository.new }
+ config.registry = ->(container, key, value, _options) { container[key.to_s] = value }
+
+ merge Git::Lint::Container
+
register(:shell) { Open3 }
- register(:environment) { ENV }
end
end
end
end