lib/milestoner/configuration/transformers/build/root.rb in milestoner-18.6.0 vs lib/milestoner/configuration/transformers/build/root.rb in milestoner-18.7.0
- old
+ new
@@ -10,10 +10,10 @@
# Ensures build root is expanded.
module Build
using Refinements::Hash
Root = lambda do |attributes, key = :build_root|
- attributes.transform_with! key => -> value { Pathname(value).expand_path }
+ attributes.transform_value!(key) { |value| Pathname(value).expand_path }
Dry::Monads::Success attributes
end
end
end
end