Skip to content

Commit 9d75478

Browse files
committed
chore: fix JavaScript lint errors (issue #10708)
--- 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: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent ef7e6f0 commit 9d75478

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/ndarray/fancy/test/test.instance.tostring.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ tape( 'a FancyArray constructor returns an instance which has a custom `toString
175175
var arr;
176176

177177
dtype = 'generic';
178-
buffer = new Array( 1e4 );
178+
buffer = [];
179+
buffer.length = 1e4;
179180
shape = [ buffer.length ];
180181
order = 'row-major';
181182
strides = [ 1 ];

0 commit comments

Comments
 (0)