Update cmd/collect_batch.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Snider 2026-02-02 06:44:39 +00:00 committed by GitHub
parent 0521d835e7
commit 2f45e5806f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,7 @@ func NewCollectBatchCmd() *cobra.Command {
return fmt.Errorf("error reading urls: %w", err)
}
if err := os.MkdirAll(outputDir, os.ModePerm); err != nil {
if err := os.MkdirAll(outputDir, 0755); err != nil {
return fmt.Errorf("error creating output directory: %w", err)
}