Skip to content

Commit 12a33b0

Browse files
committed
Use Application.compile_env/3 in Native module
This is because we use a config that depends on compilation.
1 parent 1815493 commit 12a33b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/html5ever/native.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ defmodule Html5ever.Native do
66
version = mix_config[:version]
77
github_url = mix_config[:package][:links]["GitHub"]
88

9-
env_config = Application.get_env(:html5ever, Html5ever, [])
9+
env_config = Application.compile_env(:html5ever, Html5ever, [])
1010

1111
# This module will be replaced by the NIF module after
1212
# loaded. It throws an error in case the NIF can't be loaded.

0 commit comments

Comments
 (0)