Skip to content

Commit a273094

Browse files
committed
fix: update error message
--- 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 fc3d526 commit a273094

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/tools/reduce/unary-strided-dispatch/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/tools/reduce/unary-strided-dispatch/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function UnaryStridedDispatch( table, idtypes, odtypes, policy ) {
9898
throw new TypeError( format( 'invalid argument. First argument must be an object. Value: `%s`.', table ) );
9999
}
100100
if ( !isFunction( table.default ) ) {
101-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "default" property and associated method.' ) );
101+
throw new TypeError( format( 'invalid argument. First argument must be an object having a "default" property and an associated method.' ) );
102102
}
103103
if ( !isCollection( idtypes ) ) {
104104
throw new TypeError( format( 'invalid argument. Second argument must be an array-like object. Value: `%s`.', idtypes ) );

0 commit comments

Comments
 (0)