Skip to content

Commit 753de20

Browse files
committed
Remove invalid option from previous commit
1 parent 8585c3b commit 753de20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crawl-complexity.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,15 @@
154154
* returns a Promise
155155
* rejects promise if any runtime error occurs
156156
*/
157-
function crawlComplexity(path, options){
157+
function crawlComplexity(path){
158158

159159
var
160160
reportList = [],
161161
errorsList = null,
162162
resolver = Promise.defer()
163163
;
164164

165-
walker = walk.walk(path, formatOptions(options));
165+
var walker = walk.walk(path);
166166

167167
walker
168168
.on("file", populateReportList(errorsList, reportList))

0 commit comments

Comments
 (0)