Skip to content

Commit ba67b5c

Browse files
StrongFennecsdoawoo
authored andcommitted
chore: fix update
1 parent 73bdb89 commit ba67b5c

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

lib/builder/builder.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ defmodule Burrito.Builder do
8686

8787
# Build every target
8888
Enum.each(build_targets, fn {name, t} ->
89-
target = Target.init_target(name, t)
90-
target = %Target{target | debug?: debug?}
89+
%Target{} = target = Target.init_target(name, t)
90+
target = %{target | debug?: debug?}
9191

9292
self_path =
9393
__ENV__.file

lib/builder/target.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ defmodule Burrito.Builder.Target do
7070
end
7171

7272
defp is_cross_build?(fields) do
73-
fields[:os] != Util.get_current_os() || fields[:cpu] != Util.get_current_cpu() or
73+
(fields[:os] != Util.get_current_os() || fields[:cpu] != Util.get_current_cpu()) or
7474
fields[:os] == :linux
7575
end
7676

lib/util/args.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ defmodule Burrito.Util.Args do
3333
@spec get_bin_path() :: binary() | :not_in_burrito
3434
def get_bin_path() do
3535
env_value = System.get_env("__BURRITO_BIN_PATH")
36+
3637
if env_value != nil do
3738
env_value
3839
else

lib/util/erts_universal_machine_fetcher.ex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ defmodule Burrito.Util.ERTSUniversalMachineFetcher do
1515
final_url =
1616
case os do
1717
:darwin ->
18-
@mac_url <> @please_do_not_abuse_these_downloads_bandwidth_costs_money <> append_versions()
18+
@mac_url <>
19+
@please_do_not_abuse_these_downloads_bandwidth_costs_money <> append_versions()
1920

2021
:linux ->
21-
@linux_url <> @please_do_not_abuse_these_downloads_bandwidth_costs_money <> append_versions()
22+
@linux_url <>
23+
@please_do_not_abuse_these_downloads_bandwidth_costs_money <> append_versions()
2224

2325
:windows ->
2426
@windows_url

0 commit comments

Comments
 (0)