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:
parent
0521d835e7
commit
2f45e5806f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue