Skip to content

Commit 9f9f415

Browse files
committed
Fix linter
1 parent a8b4b25 commit 9f9f415

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

app/models/setting.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ def dynamic_keys
109109

110110
private
111111

112-
def dynamic_key_name(key_str)
113-
"dynamic:#{key_str}"
114-
end
112+
def dynamic_key_name(key_str)
113+
"dynamic:#{key_str}"
114+
end
115115
end
116116

117117
# Validates OpenAI configuration requires model when custom URI base is set

app/views/lunchflow_items/select_accounts.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
<div class="space-y-2">
1717
<% @available_accounts.each do |account| %>
1818
<% has_blank_name = account[:name].blank? %>
19-
<label class="flex items-start gap-3 p-3 border <%= has_blank_name ? 'border-error bg-error/5' : 'border-primary' %> rounded-lg <%= has_blank_name ? 'cursor-not-allowed opacity-60' : 'hover:bg-subtle cursor-pointer' %> transition-colors">
19+
<label class="flex items-start gap-3 p-3 border <%= has_blank_name ? "border-error bg-error/5" : "border-primary" %> rounded-lg <%= has_blank_name ? "cursor-not-allowed opacity-60" : "hover:bg-subtle cursor-pointer" %> transition-colors">
2020
<%= check_box_tag "account_ids[]", account[:id], false, disabled: has_blank_name, class: "mt-1" %>
2121
<div class="flex-1">
22-
<div class="font-medium text-sm <%= has_blank_name ? 'text-error' : 'text-primary' %>">
22+
<div class="font-medium text-sm <%= has_blank_name ? "text-error" : "text-primary" %>">
2323
<% if has_blank_name %>
2424
<%= t(".no_name_placeholder") %>
2525
<% else %>

app/views/lunchflow_items/select_existing_account.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
<div class="space-y-2">
1717
<% @available_accounts.each do |account| %>
1818
<% has_blank_name = account[:name].blank? %>
19-
<label class="flex items-start gap-3 p-3 border <%= has_blank_name ? 'border-error bg-error/5' : 'border-primary' %> rounded-lg <%= has_blank_name ? 'cursor-not-allowed opacity-60' : 'hover:bg-subtle cursor-pointer' %> transition-colors">
19+
<label class="flex items-start gap-3 p-3 border <%= has_blank_name ? "border-error bg-error/5" : "border-primary" %> rounded-lg <%= has_blank_name ? "cursor-not-allowed opacity-60" : "hover:bg-subtle cursor-pointer" %> transition-colors">
2020
<%= radio_button_tag "lunchflow_account_id", account[:id], false, disabled: has_blank_name, class: "mt-1" %>
2121
<div class="flex-1">
22-
<div class="font-medium text-sm <%= has_blank_name ? 'text-error' : 'text-primary' %>">
22+
<div class="font-medium text-sm <%= has_blank_name ? "text-error" : "text-primary" %>">
2323
<% if has_blank_name %>
2424
<%= t(".no_name_placeholder") %>
2525
<% else %>

app/views/settings/providers/_provider_form.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
</div>
7474
<% end %>
7575

76-
<% # Show configuration status %>
76+
<%# Show configuration status %>
7777
<% if configuration.configured? %>
7878
<div class="flex items-center gap-2 mt-4">
7979
<div class="w-2 h-2 bg-green-500 rounded-full"></div>

0 commit comments

Comments
 (0)