Skip to content

Commit ddb8228

Browse files
GeoDaoyukgryte
andauthored
chore: fix JavaScript lint errors
PR-URL: stdlib-js#6936 Closes: stdlib-js#6934 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 7b3095e commit ddb8228

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
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 = [];
6464

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

7171
debug( 'Determined main entry point for package: %s (%d of %d). Main: %s', pkg, k, total, main );
72-
out[ i ] = {
72+
out.push({
7373
'id': main,
7474
'pkg': pkg,
7575
'dir': pkgs[ i ].dir,
7676
'entries': [
7777
main
7878
]
79-
};
79+
});
8080
}
8181
debug( 'Finished determining main entry points.' );
8282

0 commit comments

Comments
 (0)