Skip to content

Commit 11176c2

Browse files
committed
added crawling file log
1 parent 6b1e0dd commit 11176c2

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
module.exports = function(srcDir, cb){ console.log(srcDir);
1+
module.exports = function(srcDir, cb){
22

33
var crawlComplexity = require('./utils/crawl-complexity');
44

55
crawlComplexity(srcDir, function(err, report){ cb(err, report); });
66

7-
}
7+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jscomplexity",
3-
"version": "0.0.9",
3+
"version": "0.0.10",
44
"preferGlobal" : "true",
55
"bin": {
66
"jscr": "generate-report.js"

utils/crawl-complexity.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
.on("file", function (root, fileStats, next) {
1818

1919
var fileRef = require('path').normalize(root + "/" + fileStats.name);
20+
console.log(fileRef);
2021

2122
if( (/\.(js)$/i).test(fileRef) ) {
2223

0 commit comments

Comments
 (0)