We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mix format
1 parent 8151ef3 commit a49cda7Copy full SHA for a49cda7
lib/mix/tasks/backpex.install.ex
@@ -154,9 +154,11 @@ if Code.ensure_loaded?(Igniter) do
154
Igniter.exists?(igniter, ts_path) ->
155
Mix.shell().info("Detected TypeScript app file: #{ts_path}")
156
ts_path
157
+
158
Igniter.exists?(igniter, js_path) ->
159
Mix.shell().info("Detected JavaScript app file: #{js_path}")
160
js_path
161
162
true ->
163
Mix.shell().info("No app.js or app.ts found, defaulting to: #{js_path}")
164
0 commit comments