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 <shizh@microsoft.com>
Signed-off-by: JasonTheDeveloper <jagoodse@microsoft.com>
Signed-off-by: Jason <jagoodse@microsoft.com>
  • Loading branch information
JasonTheDeveloper and shizhMSFT committed Sep 4, 2024
1 parent 99c1029 commit e5d5e92
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 e5d5e92

Please sign in to comment.