Skip to content

Commit 279ed57

Browse files
chore: fix JavaScript lint error
PR-URL: #7254 Closes: #7228 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 4be933d commit 279ed57

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function entryPoints( pkgs ) {
5959
var k;
6060

6161
total = pkgs.length;
62-
out = new Array( total );
62+
out = [];
6363

6464
debug( 'Determining main entry points for %d packages...', total );
6565
for ( i = 0; i < total; i++ ) {
@@ -68,12 +68,12 @@ function entryPoints( pkgs ) {
6868
main = pkgs[ i ].id;
6969

7070
debug( 'Determined main entry point for package: %s (%d of %d). Main: %s', pkg, k, total, main );
71-
out[ i ] = {
71+
out.push({
7272
'id': main,
7373
'pkg': pkg,
7474
'dir': pkgs[ i ].dir,
7575
'entries': []
76-
};
76+
});
7777
}
7878
debug( 'Finished determining main entry points.' );
7979

0 commit comments

Comments
 (0)