Skip to content

Commit ac360f2

Browse files
committed
Fix bug causing selfsign to ignore the default profile
1 parent 1a911ca commit ac360f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/selfsign/selfsign.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ func selfSignMain(args []string, c cli.Config) (err error) {
8787
if c.Profile != "" && c.CFG.Signing.Profiles != nil {
8888
profile = c.CFG.Signing.Profiles[c.Profile]
8989
}
90+
if profile == nil {
91+
profile = c.CFG.Signing.Default
92+
}
9093
}
9194

9295
if profile == nil {

0 commit comments

Comments
 (0)