Skip to content

Commit

Permalink
Extend fingerprint default to repos starting with A-L
Browse files Browse the repository at this point in the history
  • Loading branch information
sweoggy committed Jul 1, 2024
1 parent 923056e commit f972034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/scan/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ If the given path contains a git repository all flags but "integration" will be
},
RunE: func(cmd *cobra.Command, args []string) error {
if len(viper.GetString(RepositoryFlag)) > 0 {
if strings.ToLower(viper.GetString(RepositoryFlag))[0] < 'g' && !cmd.Flags().Changed(NoFingerprintFlag) {
if strings.ToLower(viper.GetString(RepositoryFlag))[0] < 'm' && !cmd.Flags().Changed(NoFingerprintFlag) {
viper.Set(NoFingerprintFlag, false)
} // Temporary addition for rolling release of fingerprinting enabled by default
}
Expand Down

0 comments on commit f972034

Please sign in to comment.