summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2018-04-20 18:48:12 -0400
committerFred Hebert <mononcqc@ferd.ca>2018-04-20 18:48:12 -0400
commitb46f56a158b2a02b05881e4ac3b53be7f1d46011 (patch)
treeaa740a8c3141abc834122607602f54c95a9a2071
parent6ee36548ec8dc74bf6e0689e1c2091bf9d4c210f (diff)
Do not die on a pkg etag cache write fail
We can probably still move ahead without a cache if we must
-rw-r--r--src/rebar_pkg_resource.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_pkg_resource.erl b/src/rebar_pkg_resource.erl
index f77a81a..2fb1868 100644
--- a/src/rebar_pkg_resource.erl
+++ b/src/rebar_pkg_resource.erl
@@ -231,4 +231,4 @@ maybe_store_etag_in_cache(true = _UpdateETag, Path, ETag) ->
store_etag_in_cache(Path, ETag).
store_etag_in_cache(Path, ETag) ->
- ok = file:write_file(Path, ETag).
+ _ = file:write_file(Path, ETag).