File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ This release closes the following issue:
2424
2525<details >
2626
27+ - [ ` 42acdf2 ` ] ( https://github.com/stdlib-js/stdlib/commit/42acdf26b0ce7508c49ca70927bf6d696aeb7f64 ) - ** docs:** update examples _ (by Athan Reines)_
2728- [ ` 650bf8a ` ] ( https://github.com/stdlib-js/stdlib/commit/650bf8aca46c48d15142d7b16dad34a3af09dda2 ) - ** chore:** fix JavaScript lint errors [ (#11533 )] ( https://github.com/stdlib-js/stdlib/pull/11533 ) _ (by Bhumika Sudarshani)_
2829
2930</details >
@@ -36,8 +37,9 @@ This release closes the following issue:
3637
3738### Contributors
3839
39- A total of 1 person contributed to this release. Thank you to this contributor :
40+ A total of 2 people contributed to this release. Thank you to the following contributors :
4041
42+ - Athan Reines
4143- Bhumika Sudarshani
4244
4345</section >
Original file line number Diff line number Diff line change @@ -300,15 +300,15 @@ var obj1 = {
300300};
301301
302302f ( obj1, done );
303- // => { 'a': 'beep:1', 'b': 'beep:2' }
303+ // e.g., => { 'a': 'beep:1', 'b': 'beep:2' }
304304
305305var obj2 = {
306306 ' c' : 3 ,
307307 ' d' : 4
308308};
309309
310310f ( obj2, done );
311- // => { 'c': 'beep:3', 'd': 'beep:4' }
311+ // e.g., => { 'c': 'beep:3', 'd': 'beep:4' }
312312```
313313
314314The function accepts the same ` options ` as ` mapValuesAsync() ` .
@@ -346,6 +346,7 @@ The function accepts the same `options` as `mapValuesAsync()`.
346346``` javascript
347347var resolve = require ( ' path' ).resolve ;
348348var stats = require ( ' fs' ).stat ;
349+ var format = require ( ' @stdlib/string-format' );
349350var mapValuesAsync = require ( ' @stdlib/utils-async-map-values' );
350351
351352var files = {
@@ -365,7 +366,7 @@ function getStats( file, next ) {
365366
366367 function onStats ( error , data ) {
367368 if ( error ) {
368- error = new Error ( ' unable to retrieve stats: ' + file );
369+ error = new Error ( format ( ' unable to retrieve stats: %s ' , file ) );
369370 return next ( error );
370371 }
371372 next ( null , data );
You can’t perform that action at this time.
0 commit comments