From 6059d7c9e1f74b10381b4839b4e35f9c726fad99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20=C5=81yp?= Date: Tue, 3 Sep 2024 12:53:52 +0200 Subject: [PATCH] Remove unneeded code --- .../helper/ddg_apple_automation_helper.rb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb b/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb index cbb93c8..0e047f0 100644 --- a/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb +++ b/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb @@ -1,21 +1,13 @@ require "fastlane_core/configuration/config_item" -require "fastlane_core/ui/ui" +require 'fastlane_core/ui/ui' module Fastlane UI = FastlaneCore::UI unless Fastlane.const_defined?(:UI) module Helper class DdgAppleAutomationHelper - class RSpecError < StandardError; end - ASANA_API_URL = "https://app.asana.com/api/1.0" ERROR_ASANA_ACCESS_TOKEN_NOT_SET = "ASANA_ACCESS_TOKEN is not set" - def self.raise_user_error(message) - UI.user_error!(message) - if ENV['RACK_ENV'] == 'test' - raise RSpecError, message - end - end end end end