Skip to content

Commit bb5c02b

Browse files
Fix inclusion flag for scan command (#294)
- actually add inclusion to options
1 parent 19f7bca commit bb5c02b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/cmd/scan/scan.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ func RunE(s *scan.IScanner) func(_ *cobra.Command, args []string) error {
236236
SBOM: viper.GetString(SBOMFlag),
237237
SBOMOutput: viper.GetString(SBOMOutputFlag),
238238
Exclusions: viper.GetStringSlice(ExclusionFlag),
239+
Inclusions: viper.GetStringSlice(InclusionFlag),
239240
Verbose: viper.GetBool(VerboseFlag),
240241
Debug: viper.GetBool(DebugFlag),
241242
Regenerate: viper.GetInt(RegenerateFlag),

0 commit comments

Comments
 (0)