diff options
author | Tristan Sloughter <[email protected]> | 2017-02-02 10:18:20 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2017-02-02 10:18:20 -0800 |
commit | d3d9bc73afaf4b145d7e6d484096534b297faf7f (patch) | |
tree | 3e7231591577f6b6a3b3d24e7400fac16db8f317 /src/rlx_cmd_args.erl | |
parent | a4d7fa1914dd0ea6c53221c3a4056fc23a7bde9d (diff) | |
parent | 59ace4da2dbc317a922f3ef0022ccc0455b882da (diff) | |
download | relx-d3d9bc73afaf4b145d7e6d484096534b297faf7f.tar.gz relx-d3d9bc73afaf4b145d7e6d484096534b297faf7f.tar.bz2 relx-d3d9bc73afaf4b145d7e6d484096534b297faf7f.zip |
Merge pull request #559 from lrascao/feature/fix_crash_on_relup_warning
Feature/fix crash on relup warning
Diffstat (limited to 'src/rlx_cmd_args.erl')
-rw-r--r-- | src/rlx_cmd_args.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rlx_cmd_args.erl b/src/rlx_cmd_args.erl index 7f3f39b..b20344c 100644 --- a/src/rlx_cmd_args.erl +++ b/src/rlx_cmd_args.erl @@ -282,6 +282,9 @@ create(include_erts, Opts) -> Erts when is_list(Erts) -> {include_erts, Erts} end; +create(warnings_as_errors, Opts) -> + WarningsAsErrors = proplists:get_value(warnings_as_errors, Opts, false), + {warnings_as_errors, WarningsAsErrors}; create(_, _) -> []. |