This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
SisMaker
/
lager
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
53
Wiki
Activity
Browse Source
application:get_env/3 has different semantics than get_env/2
pull/284/head
John R. Daily
9 years ago
parent
6e2d97389c
commit
2f7f7b7dde
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/lager_app.erl
+ 1
- 1
src/lager_app.erl
View File
@ -195,7 +195,7 @@ get_env(Application, Key, Default) ->
get_env_default
(
undefined
,
Default
)
-
>
Default
;
get_env_default
(
Value
,
_
Default
)
-
>
get_env_default
(
{
ok
,
Value
}
,
_
Default
)
-
>
Value
.
start
(
_
StartType
,
_
StartArgs
)
-
>
Write
Preview
Loading…
Cancel
Save