Skip to content

Commit 8077e33

Browse files
committed
fix(buffer): remove unused eslint-disable directives in polyfill.js
--- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent befe02c commit 8077e33

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/buffer/from-string/lib

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/buffer/from-string/lib/polyfill.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ function fromString( str, encoding ) {
4949
if ( !isString( encoding ) ) {
5050
throw new TypeError( format( 'invalid argument. Second argument must be a string. Value: `%s`.', encoding ) );
5151
}
52-
return new Buffer( str, encoding ); // eslint-disable-line no-buffer-constructor
52+
return new Buffer( str, encoding );
5353
}
54-
return new Buffer( str, 'utf8' ); // eslint-disable-line no-buffer-constructor
54+
return new Buffer( str, 'utf8' );
5555
}
5656

5757

0 commit comments

Comments
 (0)