Skip to content

Commit 2b998a4

Browse files
authored
Update index.js
1 parent 1883a30 commit 2b998a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,10 @@ module.exports.toList = function(options = {}) {
8181
* @return {Array}
8282
*/
8383
module.exports._getDependencies = function(config = {}) {
84-
const precinctOptions = config.detectiveConfig;
8584
let dependencies;
8685

8786
try {
88-
dependencies = precinct.paperwork(config.filename, precinctOptions);
87+
dependencies = precinct.paperwork(config.filename, config.detectiveConfig);
8988
debug(`extracted ${dependencies.length} dependencies: `, dependencies);
9089
} catch (error) {
9190
debug(`error getting dependencies: ${error.message}`);

0 commit comments

Comments
 (0)