Skip to content

Commit

Permalink
Only set the configuration from the CLI if the value is present from …
Browse files Browse the repository at this point in the history
…the CLI
  • Loading branch information
zshel committed Mar 11, 2022
1 parent 58d16ff commit d239593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/releasr/releasr.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func main() {
Action: func(c *cli.Context) error {

configuration, _ := config.Create()

if c.IsSet("scm") {
configuration.Set(config.PACKAGR_SCM, c.String("scm"))
}
Expand Down

0 comments on commit d239593

Please sign in to comment.