From 1d0b6d3832671b99f9ba2e0d9080cdba283f1882 Mon Sep 17 00:00:00 2001 From: Frederick Cook Date: Thu, 13 Jun 2019 09:17:12 -0600 Subject: [PATCH] fix undefined local variable or method `owner' Receiving error `NameError: [!] undefined local variable or method `owner' for FastlaneCore::Helper::AppcenterHelper:Class` on upload. I believe this should fix it. --- lib/fastlane/plugin/appcenter/helper/appcenter_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fastlane/plugin/appcenter/helper/appcenter_helper.rb b/lib/fastlane/plugin/appcenter/helper/appcenter_helper.rb index ada5eda..85fbb00 100644 --- a/lib/fastlane/plugin/appcenter/helper/appcenter_helper.rb +++ b/lib/fastlane/plugin/appcenter/helper/appcenter_helper.rb @@ -370,7 +370,7 @@ module Fastlane UI.message("DEBUG: #{JSON.pretty_generate(response.body)}\n") if ENV['DEBUG'] false else - UI.error("Error getting app #{owner}/#{app_name}, #{response.status}: #{response.body}") + UI.error("Error getting app #{owner_name}/#{app_name}, #{response.status}: #{response.body}") false end end @@ -404,4 +404,4 @@ module Fastlane end end end -end \ No newline at end of file +end