summaryrefslogtreecommitdiff
path: root/test/rebar_compile_SUITE.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2016-08-27 15:56:01 -0400
committerFred Hebert <mononcqc@ferd.ca>2016-08-27 15:56:01 -0400
commit6bd8cda77aaa089f9eaa87dd696cfa63af5f2292 (patch)
treef551229d7ace0117bc70278783bfdae70bc094de /test/rebar_compile_SUITE.erl
parent8ee9cc89969afd79bf8687dcdf978f1a09e01d48 (diff)
Fix crash when doing hash check with missing index
Specifically, when fetching an application where the expected hash is unknown, the hash is validated from the hex index; when the index is available, the hash is fetched fine and later inserted in the lock file. However, if the index is not available, the call would simply crash. This patch fixes thing so that instead, the index is refreshed before giving up and failing.
Diffstat (limited to 'test/rebar_compile_SUITE.erl')
0 files changed, 0 insertions, 0 deletions