Skip to content

Commit

Permalink
Minor cleanup (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
smondal authored and sindresorhus committed Dec 30, 2019
1 parent 237f636 commit f8c51f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -35,7 +35,7 @@ module.exports = (options = {}) => {

directory = path.join(directory, 'node_modules', '.cache', name);

if (directory && options.create) {
if (options.create) {
makeDir.sync(directory);
}

Expand Down

0 comments on commit f8c51f3

Please sign in to comment.