Skip to content

Commit

Permalink
Test Config values
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-debricked committed Apr 19, 2024
1 parent ce52cc8 commit ce86b00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/scan/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,10 @@ func (dScanner *DebrickedScanner) getDebrickedConfig(path string, exclusions []s
if configPath == "" {
return nil
}
debrickedConfig := upload.GetDebrickedConfig(configPath)
fmt.Println(*debrickedConfig)

return upload.GetDebrickedConfig(configPath)
return debrickedConfig
}

func (dScanner *DebrickedScanner) handleScanError(err error, passOnTimeOut bool) error {
Expand Down
2 changes: 2 additions & 0 deletions internal/upload/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ func (uploadBatch *uploadBatch) initAnalysis() error {
DebrickedIntegration: "cli",
})

fmt.Println(string(body))

if err != nil {
return err
}
Expand Down

0 comments on commit ce86b00

Please sign in to comment.