Skip to content

Commit

Permalink
Fix formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
crbelaus committed Dec 25, 2024
1 parent 5c5722a commit 0fa120b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bun.ex
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ defmodule Bun do

zip = fetch_body!(url)

# Certain Bun versions contain multiple files in the zip archive, we just want the Bun executable.
download_path =
# Certain Bun versions contain multiple files in the zip archive, we just want the Bun executable.
case :zip.unzip(zip, cwd: to_charlist(tmp_dir), file_list: [~c[bun-#{target()}/bun]]) do
{:ok, [download_path]} -> download_path
other -> raise "couldn't unpack archive: #{inspect(other)}"
Expand Down

0 comments on commit 0fa120b

Please sign in to comment.