We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8585c3b commit 753de20Copy full SHA for 753de20
src/crawl-complexity.js
@@ -154,15 +154,15 @@
154
* returns a Promise
155
* rejects promise if any runtime error occurs
156
*/
157
- function crawlComplexity(path, options){
+ function crawlComplexity(path){
158
159
var
160
reportList = [],
161
errorsList = null,
162
resolver = Promise.defer()
163
;
164
165
- walker = walk.walk(path, formatOptions(options));
+ var walker = walk.walk(path);
166
167
walker
168
.on("file", populateReportList(errorsList, reportList))
0 commit comments