Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
removed a dead condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Shmukler committed Oct 4, 2018
1 parent e193f79 commit 28b6e57
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 34 deletions.
54 changes: 47 additions & 7 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"github.com/nearform/gammaray/analyzer"
"github.com/nearform/gammaray/docker"
"github.com/nearform/gammaray/nodepackage"
"github.com/nearform/gammaray/packagelockrunner"
"github.com/nearform/gammaray/pathrunner"
"github.com/nearform/gammaray/vulnfetcher"
"github.com/nearform/gammaray/yarnlockrunner"
Expand Down Expand Up @@ -96,10 +95,6 @@ func (m *Args) Analyze() (vulnfetcher.VulnerabilityReport, error) {
walkers = []nodepackage.Walker{
pathrunner.PathRunner{},
}
} else if m.OnlyPackageLock == true {
walkers = []nodepackage.Walker{
packagelockrunner.PackageLockRunner{},
}
} else if m.OnlyYarnLock == true {
walkers = []nodepackage.Walker{
yarnlockrunner.YarnLockRunner{},
Expand Down
11 changes: 0 additions & 11 deletions versionformatter/versionformatter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions yarnlockparser/yarnlockparser.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 28b6e57

Please sign in to comment.