Skip to content

fix(logging): sanitize logged argv#3658

Merged
wraithgar merged 1 commit intorelease-nextfrom
gar/clean-argv
Aug 17, 2021
Merged

fix(logging): sanitize logged argv#3658
wraithgar merged 1 commit intorelease-nextfrom
gar/clean-argv

Conversation

@wraithgar
Copy link
Copy Markdown
Member

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.

References

@wraithgar wraithgar requested a review from a team as a code owner August 17, 2021 14:39
Copy link
Copy Markdown
Contributor

@nlf nlf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these changes look good!

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
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