mirror of
https://github.com/Jguer/yay.git
synced 2025-12-27 10:01:53 -05:00
feat(config): Add version marker (#1720)
* only run on PRs * prefer manual tags * add defaults for tests * cuddle assignment
This commit is contained in:
2
cmd.go
2
cmd.go
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user