Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
filmor committed Apr 25, 2020
1 parent def05eb commit dd91119
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rustler_mix/lib/rustler/compiler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ defmodule Rustler.Compiler do

artifacts = Server.build()

is_release = Mix.env in [:prod, :bench]
is_release = Mix.env() in [:prod, :bench]

entry =
artifacts
|> Map.values
|> Enum.find(&crate == &1[:name])
|> Map.values()
|> Enum.find(&(crate == &1[:name]))

[filename] = entry[:filenames]
out_path = Path.join(priv_dir(entry, is_release), Path.basename(filename))
Expand Down

0 comments on commit dd91119

Please sign in to comment.