mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Limit line length
This commit is contained in:
parent
9632860ac2
commit
ab79534507
1 changed files with 2 additions and 1 deletions
|
@ -177,7 +177,8 @@ get_root_dir(ReltoolConfig) ->
|
|||
end.
|
||||
|
||||
get_target_parent_dir(ReltoolConfig) ->
|
||||
case lists:reverse(tl(lists:reverse(filename:split(get_target_dir(ReltoolConfig))))) of
|
||||
TargetDir = get_target_dir(ReltoolConfig),
|
||||
case lists:reverse(tl(lists:reverse(filename:split(TargetDir)))) of
|
||||
[] -> ".";
|
||||
Components -> filename:join(Components)
|
||||
end.
|
||||
|
|
Loading…
Reference in a new issue