Skip to content

Commit

Permalink
Update commands/transform.go
Browse files Browse the repository at this point in the history
Co-authored-by: Felipe Martin <[email protected]>
  • Loading branch information
wetneb and fmartingr authored Oct 16, 2024
1 parent 956b26f commit 332b07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/transform.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ func transformSlackCmdF(cmd *cobra.Command, args []string) error {
}
}

profilePicturesDir := path.Join(attachmentsDir, "profile_pictures")
if !skipAttachments {
profilePicturesDir := path.Join(attachmentsDir, "profile_pictures")
if fileInfo, err := os.Stat(profilePicturesDir); os.IsNotExist(err) {
if createErr := os.MkdirAll(profilePicturesDir, 0755); createErr != nil {
return createErr
Expand Down

0 comments on commit 332b07f

Please sign in to comment.