lib/airbrake/rake/tasks.rb in airbrake-5.4.1 vs lib/airbrake/rake/tasks.rb in airbrake-5.4.2

- old
+ new

@@ -90,10 +90,10 @@ config = Bundler.with_clean_env do `heroku config --shell#{ " --app #{app}" if app }` end heroku_env = config.each_line.with_object({}) do |line, h| - h.merge!(Hash[*line.rstrip.split('=')]) + h.merge!(Hash[*line.rstrip.split("\n").flat_map { |v| v.split('=', 2) }]) end id = heroku_env['AIRBRAKE_PROJECT_ID'] key = heroku_env['AIRBRAKE_API_KEY']