Skip to content

Commit

Permalink
fix: Return as is if user decide to not reconfigure
Browse files Browse the repository at this point in the history
  • Loading branch information
toopay committed Aug 12, 2024
1 parent 9474159 commit 1c297e3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/cli/configure/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ func Run(f *Flags, projectPath string) (*Config, error) {
}

if !isReconfigure {
return nil, nil
path := GetConfigFilePath(projectPath)
raidenCfg, err1 := raiden.LoadConfig(&path)
if err1 != nil {
return nil, err1
}

return &Config{*raidenCfg}, nil
}
}

Expand Down

0 comments on commit 1c297e3

Please sign in to comment.