Skip to content

Commit 63e6388

Browse files
committed
fix(config): shadowed declaration 'p'
1 parent 88d14d3 commit 63e6388

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/config/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ func (c *Config) initialize() error {
5151
if !found {
5252
xdgConfigHome = sysutil.HomeDir()
5353
}
54-
p := filepath.Join(xdgConfigHome, "commitizen", RCFilename)
55-
if fsutil.IsExists(p) {
56-
fpath = p
54+
xdgConfigPath := filepath.Join(xdgConfigHome, "commitizen", RCFilename)
55+
if fsutil.IsExists(xdgConfigPath) {
56+
fpath = xdgConfigPath
5757
}
5858
}
5959
}

0 commit comments

Comments
 (0)