Skip to content

Commit

Permalink
refactor(dir): remove userDir
Browse files Browse the repository at this point in the history
Co-authored-by: Shiwei Zhang <[email protected]>
Signed-off-by: JasonTheDeveloper <[email protected]>
Signed-off-by: Jason <[email protected]>
  • Loading branch information
JasonTheDeveloper and shizhMSFT committed Sep 4, 2024
1 parent 9ea0ec6 commit 4c44f3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dir/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ func userConfigDirPath() string {
userDir, err := userConfigDir()
if err != nil {
// fallback to current directory
userDir = "."
UserConfigDir = "." + notation
return UserConfigDir
UserConfigDir = "." + notation
return UserConfigDir
}
Expand Down

0 comments on commit 4c44f3b

Please sign in to comment.