Skip to content
This repository was archived by the owner on Mar 10, 2022. It is now read-only.

Commit 23314ed

Browse files
cmttMatthias Thoemmes
authored and
Matthias Thoemmes
committed
0.1.0
1 parent 9e9dd60 commit 23314ed

7 files changed

+7501
-28
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ let di = require('gulp-di')(gulp, {
481481

482482
## Changelog
483483

484-
0.1.0 - 00/??/201?
484+
0.1.0 - 11/27/2019
485485

486486
- Adapting to changes in gulp 4.0 (#9)
487487
- Removing CI tests for older Node.js versions below 5.x

TODO

-1
This file was deleted.

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let di = require('./')(gulp, {
1919
.modules('./modules')
2020
.tasks('./tasks')
2121
// .task(function (noDef) {
22-
// // This should fail if you un-comment it
22+
// // This should fail if you un-comment it as `noDef` hasn't been defined.
2323
// })
2424
.resolve();
2525

lib/read-directory.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ const requireDir = require('require-dir');
33
/**
44
* @method readDirectory
55
* @param {string} directory
6-
* @param {Boolean} camelcase
6+
* @param {Object} options
77
* @return {object}
88
*/
99

10-
const readDirectory = (directory, camelcase) => requireDir(directory, { camelcase: !!camelcase });
10+
const readDirectory = (directory, options = {}) => requireDir(directory, options);
1111

1212
module.exports = readDirectory;

0 commit comments

Comments
 (0)