File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
lib/node_modules/@stdlib/_tools/static-analysis/js/summarize-file-list Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -49,15 +49,16 @@ Performs a static [summary analysis][@stdlib/_tools/static-analysis/js/incr/prog
4949``` javascript
5050var files = [ ' ./beep.js' , ' ./boop.js' ];
5151
52- analyze ( files, clbk );
53- // throws <Error>
54-
5552function clbk ( error , results ) {
5653 if ( error ) {
5754 throw error;
5855 }
5956 console .log ( JSON .stringify ( results ) );
6057}
58+
59+ analyze ( files, clbk );
60+ // throws <Error>
61+
6162```
6263
6364The function accepts the following ` options ` :
@@ -72,15 +73,17 @@ var files = [ './beep.js', './boop.js' ];
7273var opts = {
7374 ' cumulative' : false
7475};
75- analyze ( files, opts, clbk );
76- // throws <Error>
7776
7877function clbk ( error , results ) {
7978 if ( error ) {
8079 throw error;
8180 }
8281 console .log ( JSON .stringify ( results ) );
8382}
83+
84+ analyze ( files, opts, clbk );
85+ // throws <Error>
86+
8487```
8588
8689#### analyze.sync( files\[ , options] )
You can’t perform that action at this time.
0 commit comments