github / ossar-action

Run multiple open source security static analysis tools without the added complexity with OSSAR (Open Source Static Analysis Runner).
MIT License
94 stars 27 forks source link

ESLint writes [ERROR] on files not found #2

Closed davidknise closed 4 years ago

davidknise commented 4 years ago

ESLint runs if either of the two default target values, **\*.js and **\*.ts, can be found, but both are included as input options.

The solution is to only provide the default input option that can be found in the environment.

This fix will be implemented in the underlying Microsoft Security Code Analysis (MSCA) CLI which is automatically picked up by the action, and thus, this issue should be self resolving once the fix is released.

ETA: End of next week.

davidknise commented 4 years ago

ESlint default configuration was updated to use their optional extension glob pattern: **/*.{js,ts}

This should allow either js or ts files to exist, but not require both.