Skip to content

Commit

Permalink
Change regenerate default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-debricked committed Sep 30, 2024
1 parent 8091bbc commit 4d0215d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/fingerprint/fingerprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $ debricked scan . --include '**/node_modules/**'`)
cmd.Flags().BoolVar(&shouldFingerprintCompressedContent, FingerprintCompressedContent, false, `Fingerprint the contents of compressed files by unpacking them in memory, Supported files: `+fmt.Sprintf("%v", fingerprint.ZIP_FILE_ENDINGS))
cmd.Flags().StringVar(&outputDir, OutputDirFlag, ".", "The directory to write the output file to")
cmd.Flags().IntVar(&minFingerprintContentLength, MinFingerprintContentLengthFlag, 45, "Set minimum content length (in bytes) for files to fingerprint. Defaults to 45 bytes.")
cmd.Flags().BoolVar(&shouldRegenerateFingerprintFile, RegenerateFingerprintFile, true, `Toggle if generated fingerprint file should be overwritten on subequent scans. Defaults to true`)
cmd.Flags().BoolVar(&shouldRegenerateFingerprintFile, RegenerateFingerprintFile, false, `Toggle if generated fingerprint file should be overwritten on subequent scans. Defaults to false`)

viper.MustBindEnv(ExclusionFlag)

Expand Down

0 comments on commit 4d0215d

Please sign in to comment.