We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 237f636 commit f8c51f3Copy full SHA for f8c51f3
index.js
@@ -35,7 +35,7 @@ module.exports = (options = {}) => {
35
36
directory = path.join(directory, 'node_modules', '.cache', name);
37
38
- if (directory && options.create) {
+ if (options.create) {
39
makeDir.sync(directory);
40
}
41
0 commit comments