Skip to content

Commit

Permalink
fix CreateFilePathInHome helper
Browse files Browse the repository at this point in the history
Signed-off-by: Vishwas Siravara <[email protected]>
  • Loading branch information
vsiravar committed Sep 25, 2023
1 parent 51dc110 commit 2b72636
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ffs/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ func CreateFilePathInHome(dirPath string) string {
homeDir, err := os.UserHomeDir()
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
fullPath := filepath.Join(homeDir, dirPath)
err = os.MkdirAll(fullPath, 0o740)
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
return fullPath
}

Expand Down

0 comments on commit 2b72636

Please sign in to comment.