Skip to content

Commit 87cc548

Browse files
committed
Fix code formatting to pass CI checks
1 parent 68ac355 commit 87cc548

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

config/dev.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import Config
33
# In development, you can choose to use ChromicPDF directly
44
# to avoid needing to run the chrome_service container
55
config :chromic_client,
6-
mode: :chromic_pdf # or :api to use the REST service
6+
# or :api to use the REST service
7+
mode: :chromic_pdf
78

89
# If using ChromicPDF in development, configure it
910
# config :chromic_pdf,

lib/chromic_client.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ defmodule ChromicClient do
211211
if Code.ensure_loaded?(ChromicPDF) do
212212
apply(ChromicPDF, function, [input, opts])
213213
else
214-
{:error,
215-
:chromic_pdf_not_available,
214+
{:error, :chromic_pdf_not_available,
216215
"ChromicPDF is not available. Install it or switch to :api mode."}
217216
end
218217
end

0 commit comments

Comments
 (0)