From 00a4a445472901780bfba3428dbca0ea18cc806a Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Wed, 26 Aug 2015 22:17:07 -0500 Subject: remove replacement of home dir with ~ in update output --- src/rebar_file_utils.erl | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/rebar_file_utils.erl') 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)]). -- cgit v1.1