Skip to content
This repository was archived by the owner on Dec 4, 2021. It is now read-only.

Commit 536094f

Browse files
Caleb HooverCaleb Hoover
Caleb Hoover
authored and
Caleb Hoover
committed
change
1 parent 5e8749e commit 536094f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

check.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,17 @@ function(scope, node, ce) { // http.get
6868

6969
var ast = astFromFile(pkg);
7070
if (ast) {
71-
console.log(' ---- '.yellow, pkg);
71+
if (flags.verbose)
72+
console.log(' ---- '.yellow, pkg);
7273
var newScope = new Scope({sinks: sinks, sources: sources, file:pkg});
7374
traverse(ast, newScope);
7475
// scope.log('EXPORTS', ast, newScope.vars.module.exports);
7576

7677
r = newScope.vars.module.exports;
7778

7879
} else {
79-
console.log(' ---- '.yellow, String(pkg).red);
80+
if (flags.verbose)
81+
console.log(' ---- '.yellow, String(pkg).red);
8082
}
8183
}
8284
});

0 commit comments

Comments
 (0)