diff --git a/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/test/test.ndarray.js b/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/test/test.ndarray.js index 5fe25d5d4bcf..c4d87d859240 100644 --- a/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/test/test.ndarray.js +++ b/lib/node_modules/@stdlib/math/strided/special/ahavercos-by/test/test.ndarray.js @@ -73,6 +73,7 @@ tape( 'the function computes the inverse half-value versed cosine via a callback ahavercosBy( x.length, x, 1, 0, y, 1, 0, accessor ); t.deepEqual( y, expected, 'deep equal' ); + // eslint-disable-next-line stdlib/no-new-array x = new Array( 5 ); // sparse array y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; @@ -81,6 +82,7 @@ tape( 'the function computes the inverse half-value versed cosine via a callback ahavercosBy( x.length, x, 1, 0, y, 1, 0, accessor ); t.deepEqual( y, expected, 'deep equal' ); + // eslint-disable-next-line stdlib/no-new-array x = new Array( 5 ); // sparse array x[ 2 ] = rand(); y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; diff --git a/lib/node_modules/@stdlib/utils/async/for-each-right/examples/index.js b/lib/node_modules/@stdlib/utils/async/for-each-right/examples/index.js index f7c6af918f09..1f1328b59a22 100644 --- a/lib/node_modules/@stdlib/utils/async/for-each-right/examples/index.js +++ b/lib/node_modules/@stdlib/utils/async/for-each-right/examples/index.js @@ -20,6 +20,7 @@ var resolve = require( 'path' ).resolve; var readFile = require( '@stdlib/fs/read-file' ); +var format = require( '@stdlib/string/format' ); var forEachRightAsync = require( './../lib' ); var files = [ @@ -42,7 +43,7 @@ function read( file, next ) { function onFile( error ) { if ( error ) { - error = new Error( 'unable to read file: '+file ); + error = new Error( format( 'unable to read file: %s', file ) ); return next( error ); } console.log( 'Successfully read file: %s', file );