Skip to content

Commit b1acb06

Browse files
committed
Auto-generated commit
1 parent bd531dc commit b1acb06

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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>

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,15 +300,15 @@ var obj1 = {
300300
};
301301

302302
f( obj1, done );
303-
// => { 'a': 'beep:1', 'b': 'beep:2' }
303+
// e.g., => { 'a': 'beep:1', 'b': 'beep:2' }
304304

305305
var obj2 = {
306306
'c': 3,
307307
'd': 4
308308
};
309309

310310
f( obj2, done );
311-
// => { 'c': 'beep:3', 'd': 'beep:4' }
311+
// e.g., => { 'c': 'beep:3', 'd': 'beep:4' }
312312
```
313313

314314
The function accepts the same `options` as `mapValuesAsync()`.
@@ -346,6 +346,7 @@ The function accepts the same `options` as `mapValuesAsync()`.
346346
```javascript
347347
var resolve = require( 'path' ).resolve;
348348
var stats = require( 'fs' ).stat;
349+
var format = require( '@stdlib/string-format' );
349350
var mapValuesAsync = require( '@stdlib/utils-async-map-values' );
350351

351352
var 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 );

0 commit comments

Comments
 (0)