lib/heroku_config/config.rb in heroku-config-0.2.0 vs lib/heroku_config/config.rb in heroku-config-0.3.0

- old
+ new

@@ -7,10 +7,11 @@ check_heroku_cli_installed! end def get(name) return "fakevalue" if ENV['HEROKU_CONFIG_TEST'] - sh "heroku config:get #{name} -a #{@app}" + out = sh "heroku config:get #{name} -a #{@app}" + return out if !out&.empty? end def set(*params) case params.size when 1 # Hash