Closed bobek closed 7 years ago
:wave: thanks for the PR @bobek.
The activesupport
change is :+1: but I think the other change is unnecessary. A workaround for this is to set the env
vars yourself:
env["HACKERONE_TOKEN_NAME"] = "mytoken"
env["HACKERONE_TOKEN"] = "0123456789abcdef"
I don't necessarily think your proposed approach goes against best practices fwiw.
Oh my ... :grimacing: ... you are absolutely right.
I agree that keeping credentials in repos is not good practice, but it works for my purpose. I have changed the logic a bit to allow for using env as well as params during instantiation. So my code now looks like
Let me know what you think about it.