Skip to content

Commit

Permalink
ci lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenari committed Nov 21, 2024
1 parent 9ee0767 commit b56a5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/devconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ func createIncludableFromPluginConfig(pluginConfig *plugin.Config) *Config {
// /config/env/bin/:/plugin2/bin/:/plugin1/bin/:$PATH
//
// because config env should take priority over plugins
func mergePATHsFromTwoEnvs(currentEnv map[string]string, newEnv map[string]string) map[string]string {
func mergePATHsFromTwoEnvs(currentEnv, newEnv map[string]string) map[string]string {
if currentEnv["PATH"] != "" {
slog.Debug("A Plugin or Config wants to modify PATH. Processing the merge", "AddedPATH", newEnv["PATH"])
newEnv["PATH"] = strings.Replace(newEnv["PATH"], "$PATH", currentEnv["PATH"], 1)
Expand Down

0 comments on commit b56a5ff

Please sign in to comment.