lib/pragmater/cli/actions/root.rb in pragmater-15.1.0 vs lib/pragmater/cli/actions/root.rb in pragmater-15.2.0
- old
+ new
@@ -13,10 +13,10 @@
on %w[-r --root], argument: "[PATH]"
default { Container[:settings].root_dir }
- def call(path = nil) = settings.root_dir = Pathname(path || default)
+ def call(path = default) = settings.root_dir = Pathname(path)
end
end
end
end