Closed kellymclaughlin closed 9 years ago
Hm, weird, it should be done here https://github.com/tsloughter/rebar3_hex/blob/master/src/rebar3_hex_user.erl#L170
Oh, I bet the call to file:write_file
returned an {error, enoent}
because I don't have a .hex
directory in my $HOME.
Argh, yea, my bad. I'll add a ensure_dir and match on ok for write.
Updated. You should be able to get a config with rebar3 hex user auth
though.
Yep, that works. Thanks!
I registered a new hex account and received the confirmation email as expected, but no hex configuration was written. Glancing over the source, the only place I see a call to
rebar3_hex_config:write
is in thedeauth
function.Here is the output of a few commands after I completed registration and confirm via email.
Shouldn't the register process write a config or is writing a config file expected to be a manual step?