Skip to content

Conversation

coreyfarrell
Copy link
Contributor

Do not return undefined when node_modules does not exist but can be
created.


nyc testing found this issue.

Do not return undefined when `node_modules` does not exist but can be
created.
Comment on lines +31 to +32
if (!isWritable(nodeModules)) {
if (fs.existsSync(nodeModules) || !isWritable(path.join(directory))) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry if this is not the wanted style. I can combine the two if statements if desired, I'm not sure what you want for maximum line length or how you want an if conditional split over multiple lines.

@ndelangen
Copy link
Contributor

This would resolve: storybookjs/storybook#8863

@ndelangen
Copy link
Contributor

ndelangen commented Dec 10, 2019

Could this be moved along if possible 🙇🙇🙇 ? Do the maintainers need help? I'd be happy to assist.

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.

3 participants