lib/pragmater/cli.rb in pragmater-6.3.3 vs lib/pragmater/cli.rb in pragmater-7.0.0
- old
+ new
@@ -94,10 +94,10 @@
aliases: "-i",
desc: "Print gem configuration.",
type: :boolean,
default: false
def config
- path = configuration.path
+ path = configuration.current
if options.edit? then `#{ENV["EDITOR"]} #{path}`
elsif options.info?
path ? say(path) : say("Configuration doesn't exist.")
else help :config