Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceklyp committed Sep 4, 2024
1 parent 8af5a51 commit ec328e5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
require "fastlane_core/configuration/config_item"
require "asana"
require_relative "../helper/ddg_apple_automation_helper"
require_relative "asana_extract_task_id_action"

module Fastlane
module Actions
Expand Down Expand Up @@ -107,9 +108,9 @@ def self.create_story(asana_access_token, task_id, text: nil, html_text: nil)
end
begin
if text
response = client.stories.create_story_for_task(task_gid: task_id, text: text)
client.stories.create_story_for_task(task_gid: task_id, text: text)
else
response = client.stories.create_story_for_task(task_gid: task_id, html_text: html_text)
client.stories.create_story_for_task(task_gid: task_id, html_text: html_text)
end
rescue StandardError => e
UI.user_error!("Failed to post comment: #{e}")
Expand Down

0 comments on commit ec328e5

Please sign in to comment.