We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adb9e62 commit 4733145Copy full SHA for 4733145
lib/numscriptex/assets_manager.ex
@@ -33,7 +33,11 @@ defmodule Numscriptex.AssetsManager do
33
def binary_path do
34
path = Application.get_env(:numscriptex, :binary_path, @default_binary_path)
35
36
- if path, do: to_charlist(path), else: @default_binary_path
+ if !is_nil(path) && path != "" do
37
+ to_charlist(path)
38
+ else
39
+ @default_binary_path
40
+ end
41
end
42
43
def hash_wasm_binary do
0 commit comments