Skip to content

Commit cd0d010

Browse files
chore: fix JavaScript lint errors
PR-URL: #8420 Closes: #8253 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 286d36b commit cd0d010

File tree

1 file changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/utils/async/for-each-right/lib

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/utils/async/for-each-right/lib/factory.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ var limit = require( './limit.js' );
8282
* // Define a callback which handles errors:
8383
* function done( error ) {
8484
* if ( error ) {
85-
* throw error;
85+
* console.error( error.message );
86+
* return;
8687
* }
8788
* console.log( 'Successfully read all files.' );
8889
* }

0 commit comments

Comments
 (0)