Skip to content

Commit 9b22722

Browse files
committed
chore: fix JavaScript lint errors
--- 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: 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 cf62110 commit 9b22722

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib

lib/node_modules/@stdlib/error/tools/msg2id/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* var msg2id = require( '@stdlib/error/tools/msg2id' );
2828
*
2929
* var v = msg2id( 'invalid option. `%s` option must be an array. Option: `%s`.' );
30-
* // returns '8t'
30+
* // returns '8Z'
3131
*/
3232

3333
// MODULES //

lib/node_modules/@stdlib/math/base/special/roundb/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ tape( 'the function supports rounding a numeric value to a desired number of dec
162162
tape( 'due to floating-point rounding error, rounding a numeric value can result in unexpected behavior', function test( t ) {
163163
var x;
164164

165-
x = 0.2 + 0.1; // => 0.30000000000000004
165+
x = 0.2 + 0.1; // returns 0.30000000000000004
166166
t.strictEqual( roundb( x, -16, 10 ), 0.3000000000000001, 'equals 0.3000000000000001 and not 0.3' );
167167

168168
x = 24.616838129811768;

0 commit comments

Comments
 (0)