Skip to content

Commit e1b8e98

Browse files
authored
chore: fix JavaScript lint errors
PR-URL: #11736 Reviewed-by: Athan Reines <kgryte@gmail.com> Closes: #11732
1 parent 8775511 commit e1b8e98

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function entryPoints( pkgs, clbk ) {
6161
var k;
6262

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

6666
count = 0;
6767

@@ -72,14 +72,14 @@ function entryPoints( pkgs, clbk ) {
7272
main = pkgs[ i ].id;
7373

7474
debug( 'Determined main entry point for package: %s (%d of %d). Main: %s', pkg, k, total, main );
75-
out[ i ] = {
75+
out.push({
7676
'id': main,
7777
'pkg': pkg,
7878
'dir': pkgs[ i ].dir,
7979
'entries': [
8080
main
8181
]
82-
};
82+
});
8383
}
8484
debug( 'Finished determining main entry points.' );
8585

0 commit comments

Comments
 (0)