Skip to content

Commit f8c51f3

Browse files
smondalsindresorhus
authored andcommittedDec 30, 2019
Minor cleanup (#25)
1 parent 237f636 commit f8c51f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = (options = {}) => {
3535

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

38-
if (directory && options.create) {
38+
if (options.create) {
3939
makeDir.sync(directory);
4040
}
4141

0 commit comments

Comments
 (0)
Please sign in to comment.