github / github/ossar-action

ESLint completed with exit code 1

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
100
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Github Security reports following error after running OSSAR action:

> Code scanning tool `ESLint` exited with errors [View workflow run](https://github.com/sjmayotte/route53-dynamic-dns/actions/runs/16082130667)
The tool that produced the analysis exited with errors but provided no error code.
This needs to be fixed by the tool.

Here is the workflow run: https://github.com/sjmayotte/route53-dynamic-dns/actions/runs/16082130667/job/45388295671

Workflow run logs:
```
The target directory is not provided. Defaults to the working directory: D:\a\route53-dynamic-dns\route53-dynamic-dns.
The platform is not provided. Defaults to the current OS: Windows.
Starting tools applicability analysis...
Tools Applicability Infomation:
Applicable Tools:
Tool Name: eslint
Tool Version: 8.56.0
Tool Config File Path: D:\a\route53-dynamic-dns\route53-dynamic-dns\.gdn\c\eslint.gdntool

Completed tools applicability analysis.
Install:
Installing eslint
------------------------------------------------------------------------------
C:\Program Files\nodejs\npm.cmd install --loglevel error eslint@8.56.0 @microsoft/eslint-plugin-sdl@0.2.2 @microsoft/eslint-formatter-sarif@3.1.0 --prefix D:\a\route53-dynamic-dns\route53-dynamic-dns\.gdn\i\node_modules\eslint --global

added 231 packages in 20s

107 packages are looking for funding
run `npm fund` for details
------------------------------------------------------------------------------
Clear:
Clearing folder: D:\a\route53-dynamic-dns\route53-dynamic-dns\.gdn\.r
Clearing folder: D:\a\route53-dynamic-dns\route53-dynamic-dns\.gdn\rc
Analyze:
Running ESLint 8.56.0
------------------------------------------------------------------------------
D:\a\route53-dynamic-dns\route53-dynamic-dns\.gdn\i\node_modules\eslint\eslint.cmd --no-eslintrc --config D:\a\route53-dynamic-dns\route53-dynamic-dns\.gdn\i\node_modules\eslint/node_modules/@microsoft/eslint-plugin-sdl/config/required.js --ext .js --ext .ts --ignore-pattern *.d.ts --format D:\a\route53-dynamic-dns\route53-dynamic-dns\.gdn\i\node_modules\eslint\node_modules\@microsoft\eslint-formatter-sarif\sarif.js --output-file D:\a\route53-dynamic-dns\route53-dynamic-dns\.gdn\.r\eslint\001\eslint.sarif **/*.{js,ts}
Tool run time: 1.1389074 seconds
------------------------------------------------------------------------------
ESLint completed with exit code 1
------------------------------------------------------------------------------
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.