Skip to content

Conversation

lukekarrys
Copy link
Contributor

Since npm completion is implemented by calling npm completion -- arg1
this will write a logfile for that command. I noticed this as I was trying
to look through my logs for a recent command and found that it had been removed
since I used enough tab completions to fill logs-max.

Since npm completion is implemented by calling npm completion -- arg1
this will write a logfile for that command. I noticed this as I was trying
to look through my logs for a recent command and found that it had been removed
since I used enough tab completions to fill logs-max.
@lukekarrys lukekarrys requested a review from a team as a code owner May 9, 2024 19:09
@lukekarrys
Copy link
Contributor Author

Here's what a grep of my logs looked like previously:

❯ grep -r "argv" _logs/
_logs//2024-05-09T19_05_19_129Z-debug-0.log:8 verbose argv "completion" "--" "npm" "vi"
_logs//2024-05-09T19_05_18_423Z-debug-0.log:8 verbose argv "completion" "--" ""
_logs//2024-05-09T19_05_20_636Z-debug-0.log:8 verbose argv "completion" "--" "npm" "view" ""
_logs//2024-05-09T19_05_18_304Z-debug-0.log:8 verbose argv "completion"

@lukekarrys lukekarrys merged commit 6d456bb into latest May 9, 2024
@lukekarrys lukekarrys deleted the lk/skip-log-file-for-completion branch May 9, 2024 20:06
@github-actions github-actions bot mentioned this pull request May 9, 2024
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