From 05f1b191277f05c5420552c781547a47b2d83fc1 Mon Sep 17 00:00:00 2001 From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Date: Thu, 30 Apr 2026 05:09:30 -0700 Subject: [PATCH] chore: fix JavaScript lint errors PR-URL: https://github.com/stdlib-js/stdlib/pull/PENDING Closes: https://github.com/stdlib-js/stdlib/issues/11852 --- .../_tools/github/star-repo/lib/factory.js | 27 ++++++++++--------- .../base/binary-dtype-signatures/lib/index.js | 2 +- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/github/star-repo/lib/factory.js b/lib/node_modules/@stdlib/_tools/github/star-repo/lib/factory.js index 2b4360e7cb5d..871b31283a4d 100644 --- a/lib/node_modules/@stdlib/_tools/github/star-repo/lib/factory.js +++ b/lib/node_modules/@stdlib/_tools/github/star-repo/lib/factory.js @@ -84,19 +84,20 @@ function factory( options, clbk ) { throw new Error( format( 'invalid argument. Repository slug must consist of an owner and a repository (e.g., "stdlib-js/utils"). Value: `%s`.', slug ) ); } query( slug, opts, done ); - /** - * Callback invoked after receiving an API response. - * - * @private - * @param {(Error|null)} error - error object - * @param {Object} info - response info - * @returns {void} - */ - function done( error, info ) { - error = error || null; - info = info || null; - clbk( error, info ); - } + } + + /** + * Callback invoked after receiving an API response. + * + * @private + * @param {(Error|null)} error - error object + * @param {Object} info - response info + * @returns {void} + */ + function done( error, info ) { + error = error || null; + info = info || null; + clbk( error, info ); } } diff --git a/lib/node_modules/@stdlib/strided/base/binary-dtype-signatures/lib/index.js b/lib/node_modules/@stdlib/strided/base/binary-dtype-signatures/lib/index.js index fca4f898f25a..fbff580f410d 100644 --- a/lib/node_modules/@stdlib/strided/base/binary-dtype-signatures/lib/index.js +++ b/lib/node_modules/@stdlib/strided/base/binary-dtype-signatures/lib/index.js @@ -34,7 +34,7 @@ * ]; * * var sigs = signatures( dtypes, dtypes, dtypes ); -* // returns [ 'float64', 'float64', 'float64', ... ] +* // returns [ 'float32', 'float32', 'float32', ... ] */ // MODULES //