summaryrefslogtreecommitdiff
path: root/test/mock_pkg_resource.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-04-26 22:06:23 -0500
committerTristan Sloughter <t@crashfast.com>2015-04-26 22:08:16 -0500
commitbecf29a5ac8e9b219120daef3ed46ed059d4b0d4 (patch)
treef498b1380431f201d069bbf595004103a8765e85 /test/mock_pkg_resource.erl
parent212b23b889c0189d3f609d5a16781f6acbadf824 (diff)
enable parse transformations in rebar config
Diffstat (limited to 'test/mock_pkg_resource.erl')
-rw-r--r--test/mock_pkg_resource.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mock_pkg_resource.erl b/test/mock_pkg_resource.erl
index 615e8a5..560caef 100644
--- a/test/mock_pkg_resource.erl
+++ b/test/mock_pkg_resource.erl
@@ -152,7 +152,7 @@ find_parts([{AppName, Deps}|Rest], Skip, Acc) ->
end.
to_graph_parts(Dict) ->
- LastUpdated = now(),
+ LastUpdated = os:timestamp(),
dict:fold(fun(K,V,{Ks,Vs}) ->
{_,Deps} = lists:keyfind(<<"deps">>, 1, V),
{[{K,LastUpdated}|Ks],