Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Scan reports scanning varying number of files #87

Open
glinton opened this issue Jan 13, 2023 · 0 comments
Open

Scan reports scanning varying number of files #87

glinton opened this issue Jan 13, 2023 · 0 comments

Comments

@glinton
Copy link

glinton commented Jan 13, 2023

On the same repository, with no code changes, gokart reports scanning a varying number of files. Is this normal behavior, if so can you explain why? Thanks.

To Reproduce

# fresh clone of gokart
git clone git@github.com:praetorian-inc/gokart.git /tmp/gokart

# change to gokart directory
cd /tmp/gokart

# scan a bunch, comparing files scanned
function scan {
    for i in {1..25}; do
       go run main.go scan . | grep "Go files were scanned" | cut -f 7 -d ' '
    done
}
scan | sort | uniq -c | sort -rn

Output

12 504
 7 505
 2 503
 2 499
 1 500
 1 498
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant