sonatype-nexus-community / nancy

A tool to check for vulnerabilities in your Golang dependencies, powered by Sonatype OSS Index
Apache License 2.0
549 stars 76 forks source link

Update logger to isolate test code to tests #197

Closed fitzoh closed 3 years ago

fitzoh commented 3 years ago

Updates logging code to not contain test code paths as requested in https://github.com/sonatype-nexus-community/nancy/issues/122.

I'm seeing some weirdness on a couple tests, couldn't figure out what was up with the original logic of updating the test directory if it a test flag was passed in but not an IQ test?

cc @bhamail / @DarthHater

fitzoh commented 3 years ago

oh.... I pulled from master, not main

Gonna close and open a new PR