Skip to content

Commit

Permalink
style: update debug logs
Browse files Browse the repository at this point in the history
Signed-off-by: Snehil Shah <snehilshah.989@gmail.com>

---
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
---

---
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
---
  • Loading branch information
Snehil-Shah committed Jan 30, 2025
1 parent 81becd2 commit 28c0f8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/repl/lib/eager_evaluator.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,16 +258,16 @@ setNonEnumerableReadOnly( EagerEvaluator.prototype, 'onKeypress', function onKey
code = cmd.join( '\n' );
debug( 'Eagerly evaluating: %s', code );
if ( !this._isSideEffectFree( code ) ) {
debug( 'Code is not side-effect free, exiting eager-evaluation.' );
debug( 'Code is not side-effect free, exiting eager-evaluation...' );
return;
}
debug( 'try to process command' );
debug( 'Trying to process command...' );
tmp = processCommand( code );
if ( tmp instanceof Error ) {
debug( 'Error encountered when processing command: %s', tmp.message );
return;
}
debug( 'Trying to compile command' );
debug( 'Trying to compile command...' );
executable = compileCommand( tmp );
if ( executable instanceof Error ) {
debug( 'Error encountered when compiling command: %s', executable.message );
Expand Down

0 comments on commit 28c0f8d

Please sign in to comment.