Skip to content

Commit 3424c1b

Browse files
committed
fix the lint error
1 parent c19a4cb commit 3424c1b

File tree

1 file changed

+8
-5
lines changed
  • lib/node_modules/@stdlib/_tools/static-analysis/js/summarize-file-list

1 file changed

+8
-5
lines changed

lib/node_modules/@stdlib/_tools/static-analysis/js/summarize-file-list/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,16 @@ Performs a static [summary analysis][@stdlib/_tools/static-analysis/js/incr/prog
4949
```javascript
5050
var files = [ './beep.js', './boop.js' ];
5151

52-
analyze( files, clbk );
53-
// throws <Error>
54-
5552
function 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

6364
The function accepts the following `options`:
@@ -72,15 +73,17 @@ var files = [ './beep.js', './boop.js' ];
7273
var opts = {
7374
'cumulative': false
7475
};
75-
analyze( files, opts, clbk );
76-
// throws <Error>
7776

7877
function 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] )

0 commit comments

Comments
 (0)