From f7859500537707267dc88d1b1bc895d75acdca4a Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Tue, 8 Oct 2024 18:33:18 -0400 Subject: [PATCH] fix(cmd/joj3): use single quote for valid scopes --- cmd/joj3/conf/conf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/joj3/conf/conf.go b/cmd/joj3/conf/conf.go index 1300dba..e0a332d 100644 --- a/cmd/joj3/conf/conf.go +++ b/cmd/joj3/conf/conf.go @@ -185,7 +185,7 @@ func ListValidScopes(confRoot, confName string) ([]string, error) { relPath = "" } validScopes = append(validScopes, - fmt.Sprintf("\"%s\"", relPath)) + fmt.Sprintf("'%s'", relPath)) } } return nil