Skip to content

Commit

Permalink
✨ use context-lines option
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Gaikwad <[email protected]>
  • Loading branch information
pranavgaikwad committed Aug 29, 2023
1 parent c9aa8af commit 976a6d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ func (a *analyzeCommand) RunAnalysis(ctx context.Context) error {
fmt.Sprintf("--provider-settings=%s", ProviderSettingsMountPath),
fmt.Sprintf("--rules=%s/", RulesetPath),
fmt.Sprintf("--output-file=%s", AnalysisOutputMountPath),
fmt.Sprintf("--context-lines=%d", 100),
}
if !a.analyzeKnownLibraries {
args = append(args,
Expand Down

0 comments on commit 976a6d4

Please sign in to comment.