From 65838e86d0e20a52f443eeafea797b75e2d360b6 Mon Sep 17 00:00:00 2001 From: lihan Date: Fri, 1 Mar 2024 15:19:13 +0800 Subject: [PATCH] bugfix: Prioritize displaying the versions of project, session, and global records when using `current` command. fix #61 --- cmd/commands/current.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/commands/current.go b/cmd/commands/current.go index 6d6807d9..2be57173 100644 --- a/cmd/commands/current.go +++ b/cmd/commands/current.go @@ -32,7 +32,7 @@ var Current = &cli.Command{ } func currentCmd(ctx *cli.Context) error { - manager := internal.NewSdkManager() + manager := internal.NewSdkManager(internal.GlobalRecordSource, internal.SessionRecordSource, internal.ProjectRecordSource) defer manager.Close() sdkName := ctx.Args().First() if sdkName == "" {