summaryrefslogtreecommitdiff
path: root/src/rebar_file_utils.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-08-26 22:17:07 -0500
committerTristan Sloughter <t@crashfast.com>2015-08-26 22:17:39 -0500
commit00a4a445472901780bfba3428dbca0ea18cc806a (patch)
treeba3816ac9ee603aeadf84f12ebdb1d8804be21d9 /src/rebar_file_utils.erl
parent08e07d6e380ee1a7f3c3f7e4ffea75aa5b6a5c52 (diff)
remove replacement of home dir with ~ in update output
Diffstat (limited to 'src/rebar_file_utils.erl')
-rw-r--r--src/rebar_file_utils.erl5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/rebar_file_utils.erl b/src/rebar_file_utils.erl
index 4f8eff5..2f39b96 100644
--- a/src/rebar_file_utils.erl
+++ b/src/rebar_file_utils.erl
@@ -27,7 +27,6 @@
-module(rebar_file_utils).
-export([try_consult/1,
- replace_home_dir/1,
format_error/1,
symlink_or_copy/2,
rm_rf/1,
@@ -60,10 +59,6 @@ try_consult(File) ->
throw(?PRV_ERROR({bad_term_file, File, Reason}))
end.
-replace_home_dir(Dir) ->
- HomeDir = rebar_dir:home_dir(),
- re:replace(Dir, [$^ | HomeDir], "~", [{return, list}]).
-
format_error({bad_term_file, AppFile, Reason}) ->
io_lib:format("Error reading file ~s: ~s", [AppFile, file:format_error(Reason)]).