Skip to content

Commit 19d9c0b

Browse files
authored
Fix comments in installer config (#6414)
1 parent eae66a0 commit 19d9c0b

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

installer/templates/phx_single/config/config.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ config :<%= @app_name %><%= if @namespaced? do %>,
1313
ecto_repos: [<%= @app_module %>.Repo]<% end %><%= if @generators do %>,
1414
generators: <%= inspect @generators %><% end %><% end %>
1515

16-
# Configures the endpoint
16+
# Configure the endpoint
1717
config :<%= @app_name %>, <%= @endpoint_module %>,
1818
url: [host: "localhost"],
1919
adapter: <%= inspect @web_adapter_module %>,
@@ -24,7 +24,7 @@ config :<%= @app_name %>, <%= @endpoint_module %>,
2424
pubsub_server: <%= @app_module %>.PubSub,
2525
live_view: [signing_salt: "<%= @lv_signing_salt %>"]<%= if @mailer do %>
2626

27-
# Configures the mailer
27+
# Configure the mailer
2828
#
2929
# By default it uses the "Local" adapter which stores the emails
3030
# locally. You can see the emails in your browser, at "/dev/mailbox".
@@ -54,7 +54,7 @@ config :tailwind,
5454
cd: Path.expand("..<%= if @in_umbrella, do: "/apps/#{@app_name}" %>", __DIR__),
5555
]<% end %>
5656

57-
# Configures Elixir's Logger
57+
# Configure Elixir's Logger
5858
config :logger, :default_formatter,
5959
format: "$time $metadata[$level] $message\n",
6060
metadata: [:request_id]

installer/templates/phx_single/config/prod.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Config
88
# before starting your production server.
99
config :<%= @web_app_name %>, <%= @endpoint_module %>, cache_static_manifest: "priv/static/cache_manifest.json"<% end %><%= if @mailer do %>
1010

11-
# Configures Swoosh API Client
11+
# Configure Swoosh API Client
1212
config :swoosh, api_client: Swoosh.ApiClient.Req
1313

1414
# Disable Swoosh Local Memory Storage

installer/templates/phx_umbrella/apps/app_name/config/config.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ config :<%= @app_name %><%= if @namespaced? do %>,
66
namespace: <%= @app_module %><% end %><%= if @ecto do %>,
77
ecto_repos: [<%= @app_module %>.Repo]<% end %><% end %><%= if @mailer do %>
88

9-
# Configures the mailer
9+
# Configure the mailer
1010
#
1111
# By default it uses the "Local" adapter which stores the emails
1212
# locally. You can see the emails in your browser, at "/dev/mailbox".

installer/templates/phx_umbrella/config/extra_config.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Config
22

3-
# Configures Elixir's Logger
3+
# Configure Elixir's Logger
44
config :logger, :default_formatter,
55
format: "$time $metadata[$level] $message\n",
66
metadata: [:request_id]

installer/templates/phx_umbrella/config/prod.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Config
22

33
<%= if @mailer do %>
4-
# Configures Swoosh API Client
4+
# Configure Swoosh API Client
55
config :swoosh, :api_client, Swoosh.ApiClient.Req
66

77
# Disable Swoosh Local Memory Storage

0 commit comments

Comments
 (0)