Skip to content

Commit 803c5b8

Browse files
chore: fix JavaScript lint error including using .push method
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 16cb8ff commit 803c5b8

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)