Skip to content

It doesn't expect other folder then src #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dominikj111 opened this issue May 13, 2022 · 1 comment
Closed

It doesn't expect other folder then src #102

dominikj111 opened this issue May 13, 2022 · 1 comment

Comments

@dominikj111
Copy link

I've downloaded an example
https://github.com/sgb-io/codehawk-cli-example
and it is looking to work well, but ./node_modules/.bin/codehawk ./src/util scan the others also, so I'm getting same result as for npm run codehawk.

There is also parsing issue.

I would expect to see scan result from util folder only.

[codehawk-cli] Unable to parse "/Users/dominikjelinek/my/Development/sandbox/codehawk-cli-example/src/util/other-examples/cannot-be-parsed-correctly.ts", skipping

    Codehawk Static Analysis Results
    Top 5 files

    | File                                               | # of Lines | Times Used/Depended On | Maintainability (higher is better) |
    | -------------------------------------------------- | ---------- | ---------------------- | ---------------------------------- |
    | /src/util/complex-utils.js                         | 99         | 1                      | 50.76 (Could be better)            |
    | .../util/other-examples/can-be-parsed-correctly.ts | 58         | 1                      | 56.77 (Could be better)            |
    | /src/typescript-supported-too/typescript-sample.ts | 11         | 1                      | 70.73 OK                           |
    | /src/pages/index.js                                | 209        | 1                      | 89.94 OK                           |
    | /src/pages/api/hello.js                            | 6          | 1                      | 91.93 OK                           |

[codehawk-cli] Generating maintainability badge...
[codehawk-cli] Badge was generated
@sgb-io
Copy link
Owner

sgb-io commented May 13, 2023

Closing due to #122

Hopefully you will not experience this issue using FTA

@sgb-io sgb-io closed this as completed May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants