1
0
forked from JOJ/JOJ3

fix(cmd/joj3): use single quote for valid scopes

This commit is contained in:
张泊明518370910136 2024-10-08 18:33:18 -04:00
parent c30ed44633
commit f785950053
Signed by untrusted user: 张泊明518370910136
GPG Key ID: D47306D7062CDA9D

View File

@ -185,7 +185,7 @@ func ListValidScopes(confRoot, confName string) ([]string, error) {
relPath = "" relPath = ""
} }
validScopes = append(validScopes, validScopes = append(validScopes,
fmt.Sprintf("\"%s\"", relPath)) fmt.Sprintf("'%s'", relPath))
} }
} }
return nil return nil