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

fix(logging): sanitize logged argv #3658

Merged
merged 1 commit into from Aug 17, 2021
Merged

fix(logging): sanitize logged argv #3658

merged 1 commit into from Aug 17, 2021

Commits on Aug 17, 2021

  1. fix(logging): sanitize logged argv

    Wraps logged process.argv in `replaceInfo`
    
    Removes logged process.argv from EJSONPARSE warning for top level
    package.json merge conflicts.  It is currently not even working (er.file
    is not being populated by the parsing library right now), and
    process.argv contains fullly resolved paths which isn't very nice
    looking.  The user knows what they typed, it's enough to tell them to
    retry.
    
    PR-URL: #3658
    Credit: @wraithgar
    Close: #3658
    Reviewed-by: @nlf
    wraithgar committed Aug 17, 2021
    Copy the full SHA
    487731c View commit details
    Browse the repository at this point in the history