feat(config): Add version marker (#1720)

* only run on PRs

* prefer manual tags

* add defaults for tests

* cuddle assignment
This commit is contained in:
J Guerreiro
2022-03-04 23:30:15 +00:00
committed by GitHub
parent dc9bef0115
commit ae01f8e4a0
7 changed files with 20 additions and 41 deletions

2
cmd.go
View File

@@ -256,7 +256,7 @@ func handleVersion() {
func handlePrint(ctx context.Context, cmdArgs *parser.Arguments, dbExecutor db.Executor) error {
switch {
case cmdArgs.ExistsArg("d", "defaultconfig"):
tmpConfig := settings.DefaultConfig()
tmpConfig := settings.DefaultConfig(yayVersion)
fmt.Printf("%v", tmpConfig)
return nil