Skip to content

Commit

Permalink
hack: fix contentDir perms in content-fetcher (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaijab authored May 20, 2024
1 parent dbd9165 commit 795620e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hack/assistant-setup/content-fetcher/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func main() {
log.Infof("Found %d pages to fetch", len(pagesToFetch))

log.Infof("Creating %q directory if doesn't exist...", contentDir)
err = os.MkdirAll(contentDir, os.ModePerm)
err = os.MkdirAll(contentDir, 0o750)
loggerx.ExitOnError(err, "while creating directory")

errs := multierror.New()
Expand Down Expand Up @@ -105,7 +105,6 @@ func main() {
}),
retry.Delay(retryInterval),
)

if err != nil {
errs = multierror.Append(errs, err)
}
Expand Down

0 comments on commit 795620e

Please sign in to comment.