Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mask codecov token in logs #222

Merged
merged 1 commit into from
Mar 18, 2019
Merged

Conversation

zundertj
Copy link
Contributor

Reimplements #113 .

I have taken a different approach to the original PR: instead of splitting the url construction logic I left that as-is, and used a regex on the full string instead. That makes testing a bit easier as well.

One potential problem might be the line

            @info "Result of submission:" * String(req)

Does this print the url string as well?

@fingolfin
Copy link
Member

Thanks for working on this! Yes, the @info also may print (log) the URL.

@fingolfin
Copy link
Member

... ah, except I misread and you are talking about the JSON result of the request, and I don't think the token is in there.

@fingolfin fingolfin merged commit 93ccaeb into JuliaCI:master Mar 18, 2019
@zundertj zundertj deleted the mask_codecov_token branch June 23, 2019 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants