Skip to content

Commit

Permalink
Extend fingerprint default to repos starting with A-S
Browse files Browse the repository at this point in the history
  • Loading branch information
sweoggy committed Sep 3, 2024
1 parent e0cca5b commit b04498b
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] < 'm' && !cmd.Flags().Changed(NoFingerprintFlag) {
if strings.ToLower(viper.GetString(RepositoryFlag))[0] < 't' && !cmd.Flags().Changed(NoFingerprintFlag) {
viper.Set(NoFingerprintFlag, false)
} // Temporary addition for rolling release of fingerprinting enabled by default
}
Expand Down

0 comments on commit b04498b

Please sign in to comment.