Skip to content

Commit 79470f2

Browse files
chore: fix JavaScript lint errors
PR-URL: #5515 Closes: #5502 Co-authored-by: Philipp Burckhardt <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]> Signed-off-by: Jalaj Kumar <[email protected]>
1 parent a993ae6 commit 79470f2

File tree

2 files changed

+7
-2
lines changed
  • lib/node_modules/@stdlib/_tools

2 files changed

+7
-2
lines changed

Diff for: lib/node_modules/@stdlib/_tools/github/get/lib/cache.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@
2828
* @returns {Array} cache
2929
*/
3030
function create( size ) {
31-
return new Array( size );
31+
var cache = [];
32+
var i;
33+
for ( i = 0; i < size; i++ ) {
34+
cache.push( null );
35+
}
36+
return cache;
3237
}
3338

3439

Diff for: lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ var debug = logger( 'browser-entry-points:sync' );
5555
* var pkgs = [ '/foo/bar/baz' ];
5656
*
5757
* var entries = entryPoints( pkgs );
58-
* // returns [{...}]
58+
* // e.g., returns [{...}]
5959
*/
6060
function entryPoints( pkgs, options ) {
6161
var results;

0 commit comments

Comments
 (0)