Skip to content

Pinpoint the location of 'findings' when you report there are 'findings'. #274

Open
@kdvolder

Description

Is your feature request related to a problem? Please describe.
Woke output is very annoying because it tells you it found a 'bad' word but gives no clues about where.

Describe the solution you'd like
Print the name of the file and line number where you found a violation. That would be very helpful to find said violation without trying to search every file in your project.

Describe alternatives you've considered
Scan every file in the project manually but that is cumbersome (it's why we use a tool like woke... so we wouldn't have to do this in the first place).

Additional context

This is a sample output I get:

Running woke ...
  Error: `Kill` may be insensitive, use `stop`, `halt` instead
  Error: files with findings: 1
  2023-07-[26](https://github.com/vmware-tanzu/tanzu-developer-tools-for-intellij/actions/runs/5674096690/job/15377009012?pr=260#step:25:29)T22:01:43Z FTL error="files with findings: 1"
  Error: Process completed with exit code 1.

So... it tells me there is 1 file with findings. That begs the question what file? Also if the file is large, a line number would be helpful as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions