Permalink
Browse files

Apply Tidier suggestion

  • Loading branch information...
1 parent aeb3081 commit fc83f4b96177a6e66b35ed265852532579a89c5b @tuncer tuncer committed Apr 16, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/rebar_utils.erl
View
@@ -193,9 +193,7 @@ expand_env_variable(InStr, VarName, RawVarValue) ->
vcs_vsn(Vcs, Dir) ->
Key = {Vcs, Dir},
- try ets:lookup_element(rebar_vsn_cache, Key, 2) of
- VsnString ->
- VsnString
+ try ets:lookup_element(rebar_vsn_cache, Key, 2)
catch
error:badarg ->
VsnString = vcs_vsn_1(Vcs, Dir),

0 comments on commit fc83f4b

Please sign in to comment.