Skip to content

Commit 650bf8a

Browse files
chore: fix JavaScript lint errors
PR-URL: #11533 Reviewed-by: Athan Reines <kgryte@gmail.com> Closes: #11517
1 parent 2e36fdf commit 650bf8a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • lib/node_modules/@stdlib/utils/async/map-values/examples

lib/node_modules/@stdlib/utils/async/map-values/examples/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
var resolve = require( 'path' ).resolve;
2222
var stats = require( 'fs' ).stat;
23+
var format = require( '@stdlib/string/format' );
2324
var mapValuesAsync = require( './../lib' );
2425

2526
var files = {
@@ -32,7 +33,7 @@ function getStats( file, next ) {
3233

3334
function onStats( error, data ) {
3435
if ( error ) {
35-
error = new Error( 'unable to retrieve stats: '+file );
36+
error = new Error( format( 'unable to retrieve stats: %s', file ) );
3637
return next( error );
3738
}
3839
next( null, data );

0 commit comments

Comments
 (0)