lib/exercism/config.rb in exercism-0.0.19 vs lib/exercism/config.rb in exercism-0.0.20

- old
+ new

@@ -5,12 +5,10 @@ File.join(Env.home, '.config') end def self.read(path) config = new(path) - return config if config.exists? - - new(alternate_path) unless config.exists? + config.exists? ? config : new(alternate_path) end def self.write(path, data) config = new(path) config.github_username = data['github_username']