Skip to content

Conversation

@JJ
Copy link
Contributor

@JJ JJ commented Nov 28, 2023

If no logs are needed, don't call the task that creates the directory anyway. This goes mainly to fix #7032. Also, typo.

After all, it can fail.

This goes mainly to fix npm#7032
@JJ JJ requested a review from a team as a code owner November 28, 2023 14:08
@JJ JJ changed the title Skip creation of log directory if it's set to an empty string Skip creation of log directory if logs-max is set to 0 Nov 29, 2023
@JJ JJ requested a review from wraithgar November 29, 2023 11:47
@wraithgar wraithgar changed the title Skip creation of log directory if logs-max is set to 0 fix: skip creation of log directory if logs-max is set to 0 Nov 29, 2023
@wraithgar
Copy link
Member

npm run lintfix should get you all green now.

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.

[BUG] Why is npm run writing into the .npm/_logs directory or creating it?

2 participants