Skip to content

Commit

Permalink
Fix reading config
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevhen Zavhorodnii committed Jun 10, 2024
1 parent c9927ba commit 1823639
Show file tree
Hide file tree
Showing 19 changed files with 468 additions and 542 deletions.
2 changes: 1 addition & 1 deletion internal/threagile/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (what *Threagile) initAnalyze() *Threagile {
RunE: func(cmd *cobra.Command, args []string) error {
cfg := what.readConfig(cmd, what.buildTimestamp)
commands := what.readCommands()
progressReporter := DefaultProgressReporter{Verbose: cfg.Verbose()}
progressReporter := DefaultProgressReporter{Verbose: cfg.Verbose}

r, err := model.ReadAndAnalyzeModel(cfg, risks.GetBuiltInRiskRules(), progressReporter)
if err != nil {
Expand Down
Loading

0 comments on commit 1823639

Please sign in to comment.