Skip to content

Commit

Permalink
code nits: modified comment on IsDirExists func
Browse files Browse the repository at this point in the history
  • Loading branch information
Rchanger committed May 20, 2021
1 parent e3c124a commit e7c2d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func GenerateTempDir() string {
return filepath.Join(os.TempDir(), GenRandomString(6))
}

// Checks wether the provided directory exists or not
// IsDirExists checks wether the provided directory exists or not
func IsDirExists(dir string) bool {
_, err := os.Stat(dir)
if os.IsNotExist(err) {
Expand Down

0 comments on commit e7c2d8f

Please sign in to comment.