Skip to content

Conversation

DennisHill
Copy link

statSync only performs a catalogue creation operation if it encounters a situation where the catalogue does not exist.

When other errors are encountered, such as permissions problems, the create directory operation should not be performed, but rather the error should be thrown out to make it easier to find the real problem.

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.

1 participant