Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return undefined if the found node_modules directory is not writable #19

Merged
merged 6 commits into from
Nov 9, 2019

Conversation

Richienb
Copy link
Contributor

@Richienb Richienb commented Oct 28, 2019

Closes #10

…ble (Closes #10)

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
@Richienb Richienb changed the title fix: Return null if the found node_modules directory is not writable (Closes #10) fix: Return null if the found node_modules directory is not writable Oct 28, 2019
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
@sindresorhus
Copy link
Owner

The behavior should be documented.

Richienb and others added 4 commits October 28, 2019 20:06
Co-Authored-By: Sindre Sorhus <sindresorhus@gmail.com>
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
@Richienb
Copy link
Contributor Author

@sindresorhus

@Richienb
Copy link
Contributor Author

Richienb commented Nov 2, 2019

@sindresorhus This PR is ready for a re-review.

@sindresorhus sindresorhus changed the title fix: Return null if the found node_modules directory is not writable Return undefined if the found node_modules directory is not writable Nov 9, 2019
@sindresorhus sindresorhus merged commit 3cea1e7 into sindresorhus:master Nov 9, 2019
@Richienb Richienb deleted the unwritable-null branch November 9, 2019 05:33
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.

Return null if the found node_modules directory is not writable
2 participants