Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update directory to dirname

  • Loading branch information...
commit ccd17147f256a8e1784ece8611ce7fb6c144f0fc 1 parent 75b9c86
@Skomski Skomski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Readme.md
View
2  Readme.md
@@ -6,7 +6,7 @@ An easy way to require all files within a directory.
```js
var controllers = require('require-all')({
- directory: __dirname + '/controllers',
+ dirname: __dirname + '/controllers',
filter: /(.+Controller)\.js$/,
});
Please sign in to comment.
Something went wrong with that request. Please try again.