From eade9109692232c8fb09037919729e27e2497fde Mon Sep 17 00:00:00 2001 From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Date: Mon, 20 Apr 2026 07:20:41 -0700 Subject: [PATCH] chore: fix JavaScript lint errors (issue #11247) The @example block in `_tools/pkgs/entry-points/lib/sync.js` passes `/foo/bar/baz` (a non-existent path) to `entryPoints()`, which causes the function to throw synchronously while resolving the package path. The existing `// returns [{...}]` annotation therefore fails the `stdlib/jsdoc-doctest` check, which suggests a `// throws ` annotation instead. Swap the annotation so the doctest matches the runtime behavior. Closes #11247 --- lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js b/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js index 8c25582ef134..6d386a751b85 100644 --- a/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js +++ b/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js @@ -55,7 +55,7 @@ var debug = logger( 'entry-points:sync' ); * var pkgs = [ '/foo/bar/baz' ]; * * var entries = entryPoints( pkgs ); -* // returns [{...}] +* // throws */ function entryPoints( pkgs, options ) { var results;