Skip to content

Commit 8e54e1b

Browse files
author
Sascha Andres
committed
-fix: set default value in early returns
1 parent d93b93b commit 8e54e1b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ func loadConfig(fs afero.Fs) (LoadConfigReturn, error) {
4949
CommitBodyLineLength: defaultCommitBodyLineLength,
5050
ShowIntro: true,
5151
ReadContributorsFromGit: false,
52+
AddAll: false,
5253
}, nil
5354
}
5455

@@ -66,6 +67,7 @@ func loadConfig(fs afero.Fs) (LoadConfigReturn, error) {
6667
CommitBodyLineLength: defaultCommitBodyLineLength,
6768
ShowIntro: true,
6869
ReadContributorsFromGit: false,
70+
AddAll: false,
6971
}, fmt.Errorf("error parsing config file: %w", err)
7072
}
7173

0 commit comments

Comments
 (0)