Skip to content

Commit c695f3d

Browse files
author
zhanggy
committed
chore: fix JavaScript lint errors (issue #6934)
1 parent 67246dd commit c695f3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/entries.sync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function entryPoints( pkgs ) {
6060
var k;
6161

6262
total = pkgs.length;
63-
out = new Array( total );
63+
out = Array.from({ length: total });
6464

6565
debug( 'Determining main entry points for %d packages...', total );
6666
for ( i = 0; i < total; i++ ) {

0 commit comments

Comments
 (0)